forked from PySlurm/pyslurm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (26 loc) · 1.17 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
sudo: required
language: python
env:
matrix:
- SLURM=19.05.0 CYTHON=0.29.14 PYTHON=3.6
- SLURM=19.05.0 CYTHON=0.29.14 PYTHON=3.5
- SLURM=19.05.0 CYTHON=0.29.14 PYTHON=3.4
- SLURM=19.05.0 CYTHON=0.29.14 PYTHON=2.7
- SLURM=19.05.0 CYTHON=0.19.2 PYTHON=3.6
- SLURM=19.05.0 CYTHON=0.19.2 PYTHON=3.5
- SLURM=19.05.0 CYTHON=0.19.2 PYTHON=3.4
- SLURM=19.05.0 CYTHON=0.19.2 PYTHON=2.7
services:
- docker
before_install:
- docker pull giovtorres/docker-centos7-slurm:$SLURM
- docker run -d -it -h ernie --name slurm-$SLURM giovtorres/docker-centos7-slurm:$SLURM
install: true
before_script:
- docker exec slurm-$SLURM git clone --branch=$TRAVIS_BRANCH https://github.com/PySlurm/pyslurm.git
- docker exec -e PYTHON=$PYTHON -e CYTHON=$CYTHON slurm-$SLURM /pyslurm/scripts/build.sh
- docker exec -e PYTHON=$PYTHON -e CYTHON=$CYTHON slurm-$SLURM /pyslurm/scripts/configure.sh
script:
- docker exec -e PYTHON=$PYTHON -e CYTHON=$CYTHON slurm-$SLURM /pyslurm/scripts/run_tests.sh
after_success:
- docker exec -e PYTHON=$PYTHON -e SLURM=$SLURM -e CYTHON=$CYTHON -e GITHUB_TOKEN=$GITHUB_TOKEN -e BRANCH=$TRAVIS_BRANCH slurm-$SLURM /pyslurm/scripts/builddocs.sh