Skip to content

Commit

Permalink
Merge pull request #81 from oscar-system/trvis
Browse files Browse the repository at this point in the history
fix .travis.yml
  • Loading branch information
fieker authored Mar 27, 2020
2 parents 2f453b7 + f20574a commit 0086759
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 24 deletions.
47 changes: 27 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,42 @@
# CxxWrap 0.9 needs a recent gcc
dist: bionic

language: julia
sudo: false

os:
- linux
- osx
- linux

julia:
- 1.3
# - nightly

jobs:
allow_failures:
- julia: nightly
include:
- stage: "Test"
julia: 1.3
os: linux
script:
- while sleep 30; do echo "still alive"; done &
- julia --project=docs/ -e 'using Pkg; Pkg.add(PackageSpec(path=pwd())); Pkg.instantiate();'
- julia --project=docs/ docs/make.jl
after_success: skip
- nightly

notifications:
- email: false
email: false

env:
global:
- DOCUMENTER_DEBUG=true
global:
DOCUMENTER_DEBUG=true


#script: # the default script is equivalent to the following
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - julia --project -e 'using Pkg; Pkg.build(); Pkg.test(; coverage=true)';

after_success:
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())';
# - julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())';

jobs:
# # Uncomment the following lines to allow failures on nightly julia
# # (tests will run but not make your overall status red)
allow_failures:
- julia: nightly
include:
- stage: "Documentation"
julia: 1.3
os: linux
script:
- julia --project=docs/ -e 'using Pkg; Pkg.instantiate();
Pkg.develop(PackageSpec(path=pwd()))'
- julia --project=docs/ docs/make.jl
after_success: skip
7 changes: 3 additions & 4 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[deps]
Oscar = "f1435218-dba5-11e9-1e4d-f1a5fab5fc13"
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DocumenterMarkdown = "997ab1e6-3595-5248-9280-8efb232c3433"


[compat]
Documenter = "~0.19"

0 comments on commit 0086759

Please sign in to comment.