t.travis.yml: configure build matrix to build on OS X and Linux (thanks Michael… | |
git clone git://src.adamsgaard.dk/plan9port | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 3f8ac29339ad67f05d32064fcc810035d55a3985 | |
parent 173295929a39c25a1aa1b9c010f0f338724d0d2c | |
Author: David du Colombier <[email protected]> | |
Date: Fri, 22 Sep 2017 11:46:13 +0200 | |
.travis.yml: configure build matrix to build on OS X and Linux (thanks Michaeli… | |
Fixes #78. | |
Diffstat: | |
M .travis.yml | 48 ++++++++++++++++++-----------… | |
1 file changed, 28 insertions(+), 20 deletions(-) | |
--- | |
diff --git a/.travis.yml b/.travis.yml | |
t@@ -1,29 +1,37 @@ | |
language: c | |
-os: | |
- - linux | |
- | |
-env: | |
- global: | |
- # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created | |
- # via the "travis encrypt" command using the project repo's public key | |
- - secure: "LYlCyAVaHBfd607667VbXInW6/tryXaCIolXNlbnoJuuJ7eHWSgdJi1/MNsxC53T… | |
- | |
-before_install: | |
- - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEG… | |
- | |
-addons: | |
- coverity_scan: | |
- project: | |
- name: "9fans/plan9port" | |
- description: "Build submitted via Travis CI" | |
- notification_email: [email protected] | |
- build_command: "./INSTALL" | |
- branch_pattern: master | |
+matrix: | |
+ include: | |
+ - os: osx | |
+ osx_image: xcode9 | |
+ - os: osx | |
+ osx_image: xcode8.3 | |
+ - os: osx | |
+ osx_image: xcode8.2 | |
+ - os: osx | |
+ osx_image: xcode8.1 | |
+ - os: osx | |
+ osx_image: xcode8 | |
+ - os: osx | |
+ osx_image: xcode7.3 | |
+ - os: osx | |
+ osx_image: xcode6.4 | |
+ - os: linux | |
+ env: | |
+ - secure: "LYlCyAVaHBfd607667VbXInW6/tryXaCIolXNlbnoJuuJ7eHWSgdJi1/MNs… | |
+ addons: | |
+ coverity_scan: | |
+ project: | |
+ name: "9fans/plan9port" | |
+ description: "Build submitted via Travis CI" | |
+ notification_email: [email protected] | |
+ build_command: "./INSTALL" | |
+ branch_pattern: master | |
before_script: | |
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi | |
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cask install Caskroom/cask/… | |
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo -n | openssl s_client -co… | |
script: | |
- ./INSTALL |