Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 sudo: required | |
2 | |
3 services: | |
4 - docker | |
5 | |
1 language: cpp | 6 language: cpp |
2 | 7 |
3 os: | 8 os: |
4 - linux | 9 - linux |
5 - osx | 10 - osx |
6 | 11 |
7 dist: trusty | 12 dist: trusty |
8 | 13 |
9 python: '2.7' | 14 python: '2.7' |
10 | 15 |
11 addons: | |
12 apt: | |
13 packages: | |
14 - python3-pip | |
15 | |
16 env: | 16 env: |
17 global: | |
18 - PATH=${PATH}:${TRAVIS_BUILD_DIR}/third_party/ninja | |
19 matrix: | 17 matrix: |
20 - BUILDTYPE=release | 18 - BUILDTYPE=release |
21 - BUILDTYPE=debug | 19 - BUILDTYPE=debug |
22 | 20 |
23 install: | 21 install: |
24 - nvm install 8.9.4 | 22 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python3; fi |
25 - mkdir -p third_party | 23 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH=/usr/local/opt/python/ libexec/bin:${PATH}; fi |
sergei
2018/03/01 10:56:00
It turned out that meanwhile the configuration sto
| |
26 - bash .travis/prepare-emscripten.sh | 24 - if [[ "$TRAVIS_OS_NAME" != "linux" ]]; then bash .travis/travis-install.sh; fi |
27 - bash .travis/prepare-ninja.sh | |
28 - pip3 install -q --user meson | |
sergei
2018/01/11 22:04:09
we cannot install meson via apt-get because the ve
| |
29 | 25 |
30 before_script: | 26 before_script: |
31 - ./ensure_dependencies.py | 27 - if [[ "$TRAVIS_OS_NAME" != "linux" ]]; then bash .travis/travis-before_scrip t.sh; fi |
32 - npm install | |
33 | 28 |
34 script: | 29 script: |
35 - meson --buildtype ${BUILDTYPE} build/${BUILDTYPE} | 30 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then bash .travis/prepare-docker.sh; else bash .travis/travis-script.sh; fi |
36 - ninja -C build/${BUILDTYPE} | |
37 - npm test | |
38 | 31 |
39 notifications: | 32 notifications: |
40 email: false | 33 email: false |
tlucas
2018/01/17 12:41:39
Do we not want to be notified about failed builds?
sergei
2018/01/17 14:26:25
See https://codereview.adblockplus.org/29663680/di
| |
LEFT | RIGHT |