diff options
author | 1138-4EB <1138-4EB@users.noreply.github.com> | 2017-12-12 21:55:52 +0100 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2017-12-14 18:10:33 +0100 |
commit | 387eb39ba5fe2b0be0086ee05aff90ae54584249 (patch) | |
tree | 54902a82933dea99cff9a889ab73ce0ffd56d565 | |
parent | eb5499b1859680f2b94f89c5eabf544946af4ba3 (diff) | |
download | ghdl-387eb39ba5fe2b0be0086ee05aff90ae54584249.tar.gz ghdl-387eb39ba5fe2b0be0086ee05aff90ae54584249.tar.bz2 ghdl-387eb39ba5fe2b0be0086ee05aff90ae54584249.zip |
use travis matrix expansion
-rw-r--r-- | .travis.yml | 72 |
1 files changed, 27 insertions, 45 deletions
diff --git a/.travis.yml b/.travis.yml index 0d40d5d33..f699a0a9b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,49 +2,13 @@ branches: except: - appveyor -language: c - -matrix: - include: - - os: linux - dist: trusty - sudo: required - services: docker - env: IMAGE=stretch+mcode - - os: linux - dist: trusty - sudo: required - services: docker - env: IMAGE=stretch+mcode+gpl - - os: linux - dist: trusty - sudo: required - services: docker - env: IMAGE=ubuntu14+mcode - - os: linux - dist: trusty - sudo: required - services: docker - env: IMAGE=ubuntu14+llvm-3.8 - - os: linux - dist: trusty - sudo: required - services: docker - env: IMAGE=fedora26+mcode - - os: osx - osx_image: xcode7.3 - env: IMAGE=macosx+mcode - cache: - directories: - - gnat - -install: true - -script: -- ./dist/linux/travis-ci.sh - -before_deploy: -- "echo ready to deploy" +os: linux +dist: trusty +sudo: required +services: docker +language: minimal +install: skip +script: "./dist/linux/travis-ci.sh" deploy: - provider: releases @@ -58,5 +22,23 @@ deploy: tags: true all_branches: true -after_deploy: -- "echo deployed" +# For each linux build, a different job/instance (with the constraints above) is executed in parallel. +env: + matrix: + - IMAGE=stretch+mcode + - IMAGE=stretch+mcode+gpl + - IMAGE=ubuntu14+mcode + - IMAGE=ubuntu14+llvm-3.8 + - IMAGE=fedora26+mcode + +# A single additional job is described for the macos build. The constraints above are used, except explicitly overriden. +jobs: + include: + - os: osx + osx_image: xcode7.3 + language: c + install: true + env: IMAGE=macosx+mcode + cache: + directories: + - gnat |