-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update docs deployment * Add CompatHelper and reduce frequency of TagBot to once per day * Move FreeBSD CI to Travis * Cache artifacts on Travis and AppVeyor * Run Travis CI only on master * Run CI on Julia v1.4
- Loading branch information
Showing
9 changed files
with
88 additions
and
46 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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,14 @@ | ||
name: CompatHelper | ||
on: | ||
schedule: | ||
- cron: 18 13 * * * | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Pkg.add("CompatHelper") | ||
run: julia -e 'using Pkg; Pkg.add("CompatHelper")' | ||
- name: CompatHelper.main() | ||
run: julia -e 'using CompatHelper; CompatHelper.main()' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,7 +1,7 @@ | ||
name: TagBot | ||
on: | ||
schedule: | ||
- cron: 0 * * * * | ||
- cron: 29 22 * * * | ||
jobs: | ||
TagBot: | ||
runs-on: ubuntu-latest | ||
|
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,17 +1,47 @@ | ||
language: julia | ||
|
||
os: | ||
- linux | ||
- osx | ||
- linux | ||
- osx | ||
- freebsd | ||
|
||
julia: | ||
- 1.0 | ||
- 1.1 | ||
- nightly | ||
- 1.0 | ||
- 1.4 | ||
- nightly | ||
|
||
notifications: | ||
email: false | ||
#script: # use the default script which is equivalent to the following | ||
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi | ||
# - julia -e 'VERSION >= v"0.7.0-DEV.5183" && using Pkg; Pkg.clone(pwd()); Pkg.build("FITSIO"); Pkg.test("FITSIO"; coverage=true)'; | ||
email: false | ||
|
||
cache: | ||
directories: | ||
- $HOME/.julia/artifacts | ||
|
||
branches: | ||
only: | ||
- master | ||
- gh-pages # For building documentation | ||
- /^testing-.*$/ # testing branches | ||
- /^v[0-9]+\.[0-9]+\.[0-9]+$/ # version tags | ||
|
||
jobs: | ||
allow_failures: | ||
- julia: nightly | ||
include: | ||
- stage: "Documentation" | ||
julia: 1.4 | ||
os: linux | ||
script: | ||
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); | ||
Pkg.instantiate(); | ||
Pkg.build("FITSIO); | ||
include("docs/make.jl")' | ||
after_success: skip | ||
|
||
after_success: | ||
- julia -e 'VERSION >= v"0.7.0-DEV.5183" && using Pkg; Pkg.add("Documenter")' | ||
- julia -e 'VERSION >= v"0.7.0-DEV.5183" && using Pkg; cd(Pkg.dir("FITSIO")); include(joinpath("docs", "make.jl"))' | ||
- julia -e 'VERSION >= v"0.7.0-DEV.5183" && using Pkg; cd(Pkg.dir("FITSIO")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'; | ||
- | | ||
julia -e ' | ||
using Pkg | ||
Pkg.add("Coverage") | ||
using Coverage | ||
Coveralls.submit(Coveralls.process_folder())' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[deps] | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
|
||
[compat] | ||
Documenter = "0.24" |
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