-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
28 lines (26 loc) · 1004 Bytes
/
.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
27
28
# based on https://github.com/PySlurm/pyslurm/blob/master/.travis.yml
sudo: required
language: julia
env:
- SLURM=19.05.0
jobs:
include:
- stage: "Test"
services:
- docker
before_install:
- docker pull giovtorres/docker-centos7-slurm:$SLURM
- docker run -d -it -h ernie -v $TRAVIS_BUILD_DIR:/SlurmTools -v $TRAVIS_HOME/julia:/julia --name slurm-$SLURM giovtorres/docker-centos7-slurm:$SLURM
install: true
before_script:
- docker exec slurm-$SLURM /julia/bin/julia --project=/SlurmTools -e 'using Pkg; Pkg.build(verbose=true)'
script:
- docker exec slurm-$SLURM /julia/bin/julia --project=/SlurmTools -e 'using Pkg; Pkg.test()'
- stage: "Documentation"
julia: 1.3
os: linux
script:
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
after_success: skip