-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (18 loc) · 1.01 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: cpp
dist: xenial
compiler:
- clang
- gcc
os:
- linux
- osx
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl -JLO https://chrome-infra-packages.appspot.com/dl/gn/gn/linux-amd64/+/T09VSJ7uJnfkIHG3v7o0oYjo0nWLwvFnR05-I9iRU-EC; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then unzip -q gn-linux-amd64.zip; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl -JLO https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then unzip -q ninja-linux.zip; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl -JLO https://chrome-infra-packages.appspot.com/dl/gn/gn/mac-amd64/+/EDk770Anp4Qo6I8K2CaZA-aJcEjZ6pAqD7QSqcoEuIMC; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then unzip -q gn-mac-amd64.zip; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl -JLO https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-mac.zip; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then unzip -q ninja-mac.zip; fi
script: ./build/travis.sh