Skip to content

Commit

Permalink
Merge 6638d5f into a9a14fb
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed May 3, 2020
2 parents a9a14fb + 6638d5f commit 0803202
Show file tree
Hide file tree
Showing 9 changed files with 88 additions and 46 deletions.
17 changes: 0 additions & 17 deletions .cirrus.yml

This file was deleted.

5 changes: 2 additions & 3 deletions .drone.jsonnet
Expand Up @@ -17,8 +17,7 @@ local Pipeline(os, arch, version) = {
};

[
# Pipeline("linux", "arm", "1.0"),
# Pipeline("linux", "arm", "1.1"),
Pipeline("linux", "arm", "1.4"),
Pipeline("linux", "arm64", "1.0"),
Pipeline("linux", "arm64", "1.1")
Pipeline("linux", "arm64", "1.4")
]
18 changes: 16 additions & 2 deletions .drone.yml
@@ -1,3 +1,17 @@
---
kind: pipeline
name: linux - arm - Julia 1.4

platform:
os: linux
arch: arm

steps:
- name: build
image: julia:1.4
commands:
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"

---
kind: pipeline
name: linux - arm64 - Julia 1.0
Expand All @@ -14,15 +28,15 @@ steps:

---
kind: pipeline
name: linux - arm64 - Julia 1.1
name: linux - arm64 - Julia 1.4

platform:
os: linux
arch: arm64

steps:
- name: build
image: julia:1.1
image: julia:1.4
commands:
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"

Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/CompatHelper.yml
@@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/TagBot.yml
@@ -1,7 +1,7 @@
name: TagBot
on:
schedule:
- cron: 0 * * * *
- cron: 29 22 * * *
jobs:
TagBot:
runs-on: ubuntu-latest
Expand Down
54 changes: 42 additions & 12 deletions .travis.yml
@@ -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())'
7 changes: 5 additions & 2 deletions appveyor.yml
@@ -1,7 +1,7 @@
environment:
matrix:
- julia_version: 1
- julia_version: 1.1
- julia_version: 1.0
- julia_version: 1.4
- julia_version: nightly

platform:
Expand All @@ -19,6 +19,9 @@ branches:
- master
- /release-.*/

cache:
- '%USERPROFILE%\.julia\artifacts'

notifications:
- provider: Email
on_build_success: false
Expand Down
5 changes: 5 additions & 0 deletions docs/Project.toml
@@ -0,0 +1,5 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"

[compat]
Documenter = "0.24"
12 changes: 3 additions & 9 deletions docs/make.jl
Expand Up @@ -2,19 +2,13 @@ using Documenter, FITSIO

makedocs(
modules = [FITSIO],
format = :html,
sitename = "FITSIO.jl",
pages = Any[
format = Documenter.HTML(prettyurls = get(ENV, "CI", nothing) == "true"),
pages = [
"Introduction" => "index.md",
"API Reference" => "api.md",
"Libcfitsio Submodule" => "libcfitsio.md"
]
)

deploydocs(
repo = "github.com/JuliaAstro/FITSIO.jl.git",
target = "build",
deps = nothing,
make = nothing,
julia = "1.0",
)
deploydocs(repo = "github.com/JuliaAstro/FITSIO.jl.git", push_preview=true)

0 comments on commit 0803202

Please sign in to comment.