diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-08-17 23:48:33 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-08-18 22:29:31 +0000 |
commit | fc7a5dc4d80ae065a11fa483e619ead02a88e213 (patch) | |
tree | ac45119a7ceb45dc87dfba46cd5edcf7fa697420 /.travis.yml | |
parent | 9fb87056bc09079710989f8a5b5118a8cf2e5d87 (diff) |
Enable .travis.yml check and use non-markdown license.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 187 |
1 files changed, 94 insertions, 93 deletions
diff --git a/.travis.yml b/.travis.yml index 23defef5..4ab34969 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -1,3 +1,4 @@ | |||
1 | --- | ||
1 | # For Pull Requests, we build only the first three jobs: autotools on Linux, | 2 | # For Pull Requests, we build only the first three jobs: autotools on Linux, |
2 | # cmake on Linux, and cmake on Windows 32 bit. | 3 | # cmake on Linux, and cmake on Windows 32 bit. |
3 | # | 4 | # |
@@ -8,105 +9,105 @@ language: c | |||
8 | 9 | ||
9 | matrix: | 10 | matrix: |
10 | include: | 11 | include: |
11 | - stage: "Stage 1" | 12 | - stage: "Stage 1" |
12 | env: JOB=cmake-linux | 13 | env: JOB=cmake-linux |
13 | compiler: gcc | 14 | compiler: gcc |
14 | addons: | 15 | addons: |
15 | apt: | 16 | apt: |
16 | packages: | 17 | packages: |
17 | - libconfig-dev # For tox-bootstrapd. | 18 | - libconfig-dev # For tox-bootstrapd. |
18 | - libcv-dev # For av_test. | 19 | - libcv-dev # For av_test. |
19 | - libhighgui-dev # For av_test. | 20 | - libhighgui-dev # For av_test. |
20 | - libopencv-contrib-dev # For av_test. | 21 | - libopencv-contrib-dev # For av_test. |
21 | - libopus-dev # For toxav. | 22 | - libopus-dev # For toxav. |
22 | - libsndfile1-dev # For av_test. | 23 | - libsndfile1-dev # For av_test. |
23 | - libgtest-dev # For unit tests. | 24 | - libgtest-dev # For unit tests. |
24 | - libvpx-dev # For toxav. | 25 | - libvpx-dev # For toxav. |
25 | - portaudio19-dev # For av_test. | 26 | - portaudio19-dev # For av_test. |
26 | install: .travis/$JOB install | 27 | install: .travis/$JOB install |
27 | script: .travis/$JOB script | 28 | script: .travis/$JOB script |
28 | after_script: .travis/upload-coverage | 29 | after_script: .travis/upload-coverage |
29 | - stage: "Stage 1" | 30 | - stage: "Stage 1" |
30 | env: JOB=autotools-linux | 31 | env: JOB=autotools-linux |
31 | compiler: clang | 32 | compiler: clang |
32 | addons: | 33 | addons: |
33 | apt: | 34 | apt: |
34 | packages: | 35 | packages: |
35 | - libconfig-dev # For tox-bootstrapd. | 36 | - libconfig-dev # For tox-bootstrapd. |
36 | - libopus-dev # For toxav. | 37 | - libopus-dev # For toxav. |
37 | - libvpx-dev # For toxav. | 38 | - libvpx-dev # For toxav. |
38 | install: .travis/$JOB install | 39 | install: .travis/$JOB install |
39 | script: .travis/$JOB script | 40 | script: .travis/$JOB script |
40 | - stage: "Stage 1" | 41 | - stage: "Stage 1" |
41 | env: JOB=bazel-linux | 42 | env: JOB=bazel-linux |
42 | compiler: clang | 43 | compiler: clang |
43 | addons: | 44 | addons: |
44 | apt: | 45 | apt: |
45 | packages: | 46 | packages: |
46 | - libcv-dev # For av_test. | 47 | - libcv-dev # For av_test. |
47 | - libhighgui-dev # For av_test. | 48 | - libhighgui-dev # For av_test. |
48 | - libopencv-contrib-dev # For av_test. | 49 | - libopencv-contrib-dev # For av_test. |
49 | before_install: | 50 | before_install: |
50 | # Clear bazel installation. | 51 | # Clear bazel installation. |
51 | - rm -rf $HOME/.cache/bazel/_bazel_$USER/install | 52 | - rm -rf $HOME/.cache/bazel/_bazel_$USER/install |
52 | # Get toktok-stack, which contains the bazel workspace. | 53 | # Get toktok-stack, which contains the bazel workspace. |
53 | - cd .. | 54 | - cd .. |
54 | - git clone https://github.com/TokTok/toktok-stack | 55 | - git clone https://github.com/TokTok/toktok-stack |
55 | - rm -rf toktok-stack/c-toxcore | 56 | - rm -rf toktok-stack/c-toxcore |
56 | - mv c-toxcore toktok-stack/ | 57 | - mv c-toxcore toktok-stack/ |
57 | - cd toktok-stack/c-toxcore | 58 | - cd toktok-stack/c-toxcore |
58 | install: .travis/$JOB install | 59 | install: .travis/$JOB install |
59 | script: .travis/$JOB script | 60 | script: .travis/$JOB script |
60 | before_cache: | 61 | before_cache: |
61 | # Clear bazel installation. | 62 | # Clear bazel installation. |
62 | - rm -rf $HOME/.cache/bazel/_bazel_$USER/install | 63 | - rm -rf $HOME/.cache/bazel/_bazel_$USER/install |
63 | - stage: "Stage 1" | 64 | - stage: "Stage 1" |
64 | if: type IN (push, api, cron) | 65 | if: type IN (push, api, cron) |
65 | env: JOB=cmake-win32 | 66 | env: JOB=cmake-win32 |
66 | services: [docker] | 67 | services: [docker] |
67 | install: .travis/$JOB install | 68 | install: .travis/$JOB install |
68 | script: .travis/$JOB script | 69 | script: .travis/$JOB script |
69 | - stage: "Stage 1" | 70 | - stage: "Stage 1" |
70 | if: type IN (push, api, cron) | 71 | if: type IN (push, api, cron) |
71 | env: JOB=cmake-win64 | 72 | env: JOB=cmake-win64 |
72 | services: [docker] | 73 | services: [docker] |
73 | install: .travis/$JOB install | 74 | install: .travis/$JOB install |
74 | script: .travis/$JOB script | 75 | script: .travis/$JOB script |
75 | # - stage: "Stage 1" | 76 | # - stage: "Stage 1" |
76 | # env: JOB=cmake-freebsd | 77 | # env: JOB=cmake-freebsd |
77 | # if: type IN (push, api, cron) | 78 | # if: type IN (push, api, cron) |
78 | # sudo: required | 79 | # sudo: required |
79 | # install: .travis/$JOB-stage1 install | 80 | # install: .travis/$JOB-stage1 install |
80 | # script: .travis/$JOB-stage1 script | 81 | # script: .travis/$JOB-stage1 script |
81 | - stage: "Stage 1" | 82 | - stage: "Stage 1" |
82 | if: type IN (push, api, cron) | 83 | if: type IN (push, api, cron) |
83 | env: JOB=cmake-osx | 84 | env: JOB=cmake-osx |
84 | os: osx | 85 | os: osx |
85 | install: .travis/$JOB install | 86 | install: .travis/$JOB install |
86 | script: .travis/$JOB script | 87 | script: .travis/$JOB script |
87 | - stage: "Stage 1" | 88 | - stage: "Stage 1" |
88 | if: type IN (push, api, cron) | 89 | if: type IN (push, api, cron) |
89 | env: JOB=tox-bootstrapd-docker | 90 | env: JOB=tox-bootstrapd-docker |
90 | services: [docker] | 91 | services: [docker] |
91 | script: .travis/$JOB | 92 | script: .travis/$JOB |
92 | # - stage: "Stage 2" | 93 | # - stage: "Stage 2" |
93 | # env: JOB=cmake-freebsd | 94 | # env: JOB=cmake-freebsd |
94 | # if: type IN (push, api, cron) | 95 | # if: type IN (push, api, cron) |
95 | # sudo: required | 96 | # sudo: required |
96 | # install: .travis/$JOB-stage2 install | 97 | # install: .travis/$JOB-stage2 install |
97 | # script: .travis/$JOB-stage2 script | 98 | # script: .travis/$JOB-stage2 script |
98 | fast_finish: true | 99 | fast_finish: true |
99 | 100 | ||
100 | cache: | 101 | cache: |
101 | directories: | 102 | directories: |
102 | - $HOME/.cache/bazel | 103 | - $HOME/.cache/bazel |
103 | - $HOME/cache | 104 | - $HOME/cache |
104 | - /opt/freebsd/cache | 105 | - /opt/freebsd/cache |
105 | 106 | ||
106 | notifications: | 107 | notifications: |
107 | irc: | 108 | irc: |
108 | channels: | 109 | channels: |
109 | - "chat.freenode.net#toktok-status" | 110 | - "chat.freenode.net#toktok-status" |
110 | template: | 111 | template: |
111 | - "%{result} %{repository_name} %{build_url}" | 112 | - "%{result} %{repository_name} %{build_url}" |
112 | - "#%{build_number} changes: %{compare_url}" | 113 | - "#%{build_number} changes: %{compare_url}" |