Travis tweaks
This commit is contained in:
parent
ea386ec0d9
commit
9dedf9109c
52
.travis.yml
52
.travis.yml
@ -1,31 +1,51 @@
|
||||
language: julia
|
||||
notifications:
|
||||
email: false
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
- windows
|
||||
julia:
|
||||
- 1.0
|
||||
- 1.1
|
||||
- 1.2
|
||||
- 1.3
|
||||
- nightly
|
||||
matrix:
|
||||
allow_failures:
|
||||
- julia: nightly
|
||||
fast_finish: true
|
||||
notifications:
|
||||
email: false
|
||||
after_success:
|
||||
- julia -e '
|
||||
using Pkg
|
||||
Pkg.add("Coverage")
|
||||
using Coverage
|
||||
Codecov.submit(process_folder())'
|
||||
jobs:
|
||||
allow_failures:
|
||||
- julia: 1.3
|
||||
- julia: nightly
|
||||
include:
|
||||
- stage: Documentation
|
||||
- os: linux
|
||||
arch: x86
|
||||
julia: 1.0
|
||||
- os: windows
|
||||
arch: x86
|
||||
julia: 1.0
|
||||
- os: linux
|
||||
arch: x86
|
||||
julia: 1.1
|
||||
- os: windows
|
||||
arch: x86
|
||||
julia: 1.1
|
||||
- os: linux
|
||||
arch: x86
|
||||
julia: 1.2
|
||||
- os: windows
|
||||
arch: x86
|
||||
julia: 1.2
|
||||
- os: linux
|
||||
arch: x86
|
||||
julia: nightly
|
||||
- os: windows
|
||||
arch: x86
|
||||
julia: nightly
|
||||
- stage: Documentation
|
||||
julia: 1.0
|
||||
script: julia --project=docs -e '
|
||||
using Pkg
|
||||
Pkg.develop(PackageSpec(; path=pwd()))
|
||||
Pkg.instantiate()
|
||||
include("docs/make.jl")'
|
||||
using Pkg;
|
||||
Pkg.develop(PackageSpec(; path=pwd()));
|
||||
Pkg.instantiate();
|
||||
include("docs/make.jl");'
|
||||
after_success: skip
|
||||
|
@ -9,6 +9,31 @@ end
|
||||
|
||||
abstract type CI <: Plugin end
|
||||
|
||||
# TODO: A template that yields this:
|
||||
# os:
|
||||
# - linux
|
||||
# - osx
|
||||
# - windows
|
||||
# julia:
|
||||
# - 1.0
|
||||
# - 1.1
|
||||
# - 1.2
|
||||
# - 1.3
|
||||
# - nightly
|
||||
# matrix:
|
||||
# fast_finish: true
|
||||
# allow_failures:
|
||||
# - julia: 1.3
|
||||
# - julia: nightly
|
||||
# include:
|
||||
# - os: linux
|
||||
# arch: x86
|
||||
# julia: 1.0
|
||||
# - os: windows
|
||||
# arch: x86
|
||||
# julia: 1.0
|
||||
# (and maybe all the other Julia versions for 32-bit too)
|
||||
|
||||
@kwdef struct TravisCI <: CI
|
||||
file::String = default_file("travis.yml")
|
||||
linux::Bool = true
|
||||
|
Loading…
Reference in New Issue
Block a user