.travis.yml (1150B)
1 # Documentation: http://docs.travis-ci.com/user/languages/julia/ 2 language: julia 3 4 dist: bionic 5 6 notifications: 7 email: 8 on_success: never # default: change 9 on_failure: always # default: always 10 11 os: 12 - linux 13 - osx 14 15 julia: 16 - 1.0 17 - 1.1 18 - nightly 19 20 addons: 21 apt: 22 packages: 23 - gnuplot 24 - imagemagick 25 26 matrix: 27 allow_failures: 28 - julia: nightly 29 30 script: 31 - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi 32 - julia -e 'import Pkg; Pkg.add("NetCDF"); Pkg.build("NetCDF"); 33 Pkg.clone(pwd()); Pkg.build("Granular"); 34 Pkg.test("Granular"; coverage=true); 35 Pkg.add("Coverage"); using Coverage; 36 Codecov.submit(Codecov.process_folder())' 37 38 jobs: 39 include: 40 - stage: docs 41 julia: 1.0 42 os: linux 43 script: 44 - julia --project=docs/ -e 'using Pkg; Pkg.instantiate(); 45 Pkg.develop(PackageSpec(path=pwd()))' 46 - julia --project=docs/ docs/make.jl 47 after_success: skip 48 on: 49 os: linux 50 julia: 1.0 51 all_branches: true 52 condition: $TRAVIS_BRANCH == "master" || -n $TRAVIS_TAG