-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #4: Add .travis.yml and deploy keys for documentation generatio…
…n using Documenter
- Loading branch information
Raunak Bhattacharyya
committed
Mar 11, 2020
1 parent
d2a3412
commit ccad4f0
Showing
3 changed files
with
46 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Documentation: http://docs.travis-ci.com/user/languages/julia/ | ||
language: julia | ||
sudo: required | ||
os: | ||
- linux | ||
|
||
julia: | ||
- 1.0 | ||
- 1.1 | ||
- nightly | ||
matrix: | ||
allow_failures: | ||
- julia: nightly | ||
addons: | ||
apt: # apt-get for linux | ||
packages: | ||
- libgtk-3-dev | ||
notifications: | ||
email: false | ||
|
||
script: | ||
- git clone https://github.com/JuliaRegistries/General $(julia -e 'import Pkg; println(joinpath(Pkg.depots1(), "registries", "General"))') | ||
- git clone https://github.com/SISL/Registry $(julia -e 'import Pkg; println(joinpath(Pkg.depots1(), "registries", "SISL"))') | ||
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi | ||
- julia --project --color=yes -e 'import Pkg; Pkg.build(); Pkg.test(coverage=true)' | ||
after_success: | ||
- julia --project -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())' | ||
- julia --project -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' | ||
|
||
jobs: | ||
include: | ||
- stage: "Documentation" | ||
julia: 1.0 | ||
os: linux | ||
script: | ||
- git clone https://github.com/JuliaRegistries/General $(julia -e 'import Pkg; println(joinpath(Pkg.depots1(), "registries", "General"))') | ||
- git clone https://github.com/SISL/Registry $(julia -e 'import Pkg; println(joinpath(Pkg.depots1(), "registries", "SISL"))') | ||
- julia --project=docs/ -e 'using Pkg; Pkg.add("Documenter")' | ||
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); | ||
Pkg.instantiate()' | ||
- 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
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