File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
sudo : required
2
2
language : python
3
+ branches :
4
+ only :
5
+ - master
3
6
env :
4
7
matrix :
5
8
- SLURM=19.05.0 CYTHON=0.29.14 PYTHON=3.6
@@ -14,11 +17,9 @@ services:
14
17
- docker
15
18
before_install :
16
19
- docker pull giovtorres/docker-centos7-slurm:$SLURM
17
- - docker run -d -it -h ernie --name slurm-$SLURM giovtorres/docker-centos7-slurm:$SLURM
20
+ - docker run -d -it -h ernie --name slurm-$SLURM -v $PWD:/pyslurm giovtorres/docker-centos7-slurm:$SLURM
18
21
install : true
19
22
before_script :
20
- - docker exec slurm-$SLURM git clone https://github.com/PySlurm/pyslurm.git
21
- - docker exec -e COMMIT=${TRAVIS_PULL_REQUEST_SHA:-$TRAVIS_BRANCH} slurm-$SLURM bash -c "cd /pyslurm && git checkout -qf $COMMIT"
22
23
- docker exec -e PYTHON=$PYTHON -e CYTHON=$CYTHON slurm-$SLURM /pyslurm/scripts/build.sh
23
24
- docker exec -e PYTHON=$PYTHON -e CYTHON=$CYTHON slurm-$SLURM /pyslurm/scripts/configure.sh
24
25
script :
You can’t perform that action at this time.
0 commit comments