Merge pull request #1563 from rico-chet/refactor-travis-env-to-jobs
Refactor travis build matrix to `jobs`
This commit is contained in:
21
.travis.yml
21
.travis.yml
@@ -1,6 +1,15 @@
|
|||||||
sudo: false
|
# YAML anchors need to appear first.
|
||||||
script: test/run
|
# Keys starting with an underscore are the custom ones, refer to
|
||||||
language: c
|
# https://docs.travis-ci.com/user/build-config-yaml#private-keys-as-yaml-anchors-and-aliases-and-external-tooling
|
||||||
os:
|
|
||||||
- linux
|
_native_job: &native_job
|
||||||
- osx
|
script: |
|
||||||
|
test/run
|
||||||
|
|
||||||
|
language: shell
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
- <<: *native_job
|
||||||
|
os: linux
|
||||||
|
- <<: *native_job
|
||||||
|
os: osx
|
||||||
|
|||||||
Reference in New Issue
Block a user