-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from oscar-system/trvis
fix .travis.yml
- Loading branch information
Showing
2 changed files
with
30 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |