diff options
author | Dave Beckett <dave@dajobe.org> | 2020-09-07 21:09:57 -0700 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2020-09-07 21:09:57 -0700 |
commit | 8cd35e22647fd758381d685ab99ff4b0cbdb273e (patch) | |
tree | 397c86779811267ddad139469d19c6fe997c490b | |
parent | 7ed36c67bb33c709f64e6f2135cc96558d840a5a (diff) | |
download | raptor-8cd35e22647fd758381d685ab99ff4b0cbdb273e.tar.gz |
Make it YAML again
-rw-r--r-- | .travis.yml | 43 |
1 files changed, 28 insertions, 15 deletions
diff --git a/.travis.yml b/.travis.yml index 28733f53..072eb943 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,38 +18,38 @@ branches: matrix: include: - - name "gcc on Linux" + - name: "gcc on Linux" os: linux compiler: gcc - - name "clang on Linux" + - name: "clang on Linux" os: linux compiler: clang - - name "c++ on Linux" + - name: "c++ on Linux" os: linux compiler: c++ - - name "clang on OSX" + - name: "clang on OSX" os: osx compiler: clang - - name "cmake on Linux" + - name: "cmake on Linux" os: linux compiler: gcc env: BUILD_CMAKE=yes EXPERIMENTAL=yes - - name "gcc on Linux ppc" + - name: "gcc on Linux ppc" os: linux compiler: gcc arch: ppc64le dist: bionic env: EXPERIMENTAL=yes - - name "gcc on Linux arm" + - name: "gcc on Linux arm" os: linux compiler: gcc arch: arm64 dist: bionic env: EXPERIMENTAL=yes -# windows env has no automake, autoconf via chocolately -# - name "windows" -# os: windows -# env: EXPERIMENTAL=yes + # windows env has no automake, autoconf via chocolately + # - name: "windows" + # os: windows + # env: EXPERIMENTAL=yes allow_failures: - env: EXPERIMENTAL=yes @@ -59,10 +59,23 @@ before_install: - env | sort install: - - if [ "$TRAVIS_OS_NAME" = "" ]; then TRAVIS_OS_NAME=linux; fi - - if [ "$TRAVIS_OS_NAME" = "linux" ]; then ./scripts/install-bison3.sh; sudo apt-get update -qq -y; sudo apt-get install -qq -y gtk-doc-tools libyajl-dev; fi - - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; brew install bison gtk-doc yajl; ln -sf /usr/local/Cellar/bison/*/bin/bison /usr/local/bin/bison; fi - - if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install WinFlexBison; fi + - | + if [ "$TRAVIS_OS_NAME" = "" ]; then TRAVIS_OS_NAME=linux; fi + case "$TRAVIS_OS_NAME" in + linux) + ./scripts/install-bison3.sh + sudo apt-get update -qq -y + sudo apt-get install -qq -y gtk-doc-tools libyajl-dev + ;; + osx) + brew update + brew install bison gtk-doc yajl + ln -sf /usr/local/Cellar/bison/*/bin/bison /usr/local/bin/bison + ;; + windows) + choco install WinFlexBison + ;; + esac script: - | |