tRearrange travis configuration - Granular.jl - Julia package for granular dynamics simulation
(HTM) git clone git://src.adamsgaard.dk/Granular.jl
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 741675d9cc58aec081702cd1565853d2ca5e0bec
(DIR) parent 9e462d9bb497720c351c3e99b3ec156ac3a08e10
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 29 Nov 2018 14:23:59 +0100
Rearrange travis configuration
Diffstat:
M .travis.yml | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
---
(DIR) diff --git a/.travis.yml b/.travis.yml
t@@ -25,24 +25,20 @@ matrix:
- julia: nightly
stages: # Set order of stages
- - prepare
- test
- - deploy
+ - docs
jobs:
include:
- - stage: prepare
- script: # NetCDF is an optional dependency
- - julia -e 'VERSION >= v"0.7" && (import Pkg; Pkg.add("NetCDF");
- Pkg.build("NetCDF"))'
- - julia -e 'import Pkg; Pkg.clone(pwd()); Pkg.build("Granular");'
-
- stage: test
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- - julia -e 'Pkg.test("Granular"; coverage=true)';
+ - julia -e 'VERSION >= v"0.7" && (import Pkg; Pkg.add("NetCDF");
+ Pkg.build("NetCDF"))'
+ - julia -e 'import Pkg; Pkg.clone(pwd()); Pkg.build("Granular");
+ Pkg.test("Granular"; coverage=true)';
- - stage: deploy
+ - stage: docs
julia: 1.0
os: linux
script: