tUpdate travis to run coverage and generate documentation after_success - 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 5997578c913123d52bd234cbe214c348d8cd5320
(DIR) parent 23f971750a8259d541b3f91db41596e2a60ed778
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 29 Nov 2018 12:39:08 +0100
Update travis to run coverage and generate documentation after_success
Diffstat:
M .travis.yml | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
---
(DIR) diff --git a/.travis.yml b/.travis.yml
t@@ -27,16 +27,14 @@ script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'import Pkg; Pkg.clone(pwd()); Pkg.build("Granular"); Pkg.test("Granular"; coverage=true)';
-deploy:
- - provider: script
- script:
- - julia -e 'import Pkg; cd(Pkg.dir("Granular")); Pkg.add("Documenter"); include(joinpath("docs", "make.jl"))'
- - julia -e 'import Pkg; cd(Pkg.dir("Granular")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
- on:
- os: linux
- julia: 1.0
- all_branches: true
- condition: $TRAVIS_BRANCH == "master" || -n $TRAVIS_TAG
+after_success:
+ - julia -e 'using Pkg; ps=Pkg.PackageSpec(name="Documenter", version="0.19"); Pkg.add(ps); Pkg.pin(ps); include(joinpath("docs", "make.jl"))'
+ - julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())'
+ on:
+ os: linux
+ julia: 1.0
+ all_branches: true
+ condition: $TRAVIS_BRANCH == "master" || -n $TRAVIS_TAG
matrix:
allow_failures: