mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
travis: Specify test matrix explicitly and add OS X
This commit is contained in:
parent
ca124fc030
commit
7270167aca
1 changed files with 20 additions and 8 deletions
28
.travis.yml
28
.travis.yml
|
@ -1,13 +1,25 @@
|
||||||
sudo: required
|
sudo: required
|
||||||
env:
|
language: python
|
||||||
- CONTAINER=fedora28
|
matrix:
|
||||||
- CONTAINER=debianstable
|
include:
|
||||||
- CONTAINER=ubuntu1604
|
- name: "Fedora 28"
|
||||||
services:
|
os: linux
|
||||||
- docker
|
env: CONTAINER=fedora28
|
||||||
|
services: docker
|
||||||
|
- name: "Debian Stable"
|
||||||
|
- os: linux
|
||||||
|
env: CONTAINER=debianstable
|
||||||
|
services: docker
|
||||||
|
- name: "Ubuntu 16.04"
|
||||||
|
- os: linux
|
||||||
|
env: CONTAINER=ubuntu1604
|
||||||
|
services: docker
|
||||||
|
- name: "Mac OS X"
|
||||||
|
os: osx
|
||||||
|
env: CONTAINER=osx
|
||||||
install:
|
install:
|
||||||
# Build the docker container
|
# Build the docker container
|
||||||
- pushd $TRAVIS_BUILD_DIR
|
- pushd $TRAVIS_BUILD_DIR
|
||||||
- docker-compose build test-$CONTAINER
|
- if [[ $CONTAINER != "osx" ]]; then docker-compose build test-$CONTAINER; done
|
||||||
script:
|
script:
|
||||||
- docker-compose run test-$CONTAINER
|
- if [[ $CONTAINER != "osx" ]]; then docker-compose build test-$CONTAINER; else uname -a; done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue