Travis tweaks

This commit is contained in:
Chris de Graaf 2019-08-26 22:01:26 +07:00
parent ea386ec0d9
commit 9dedf9109c
No known key found for this signature in database
GPG Key ID: 150FFDD9B0073C7B
2 changed files with 61 additions and 16 deletions

View File

@ -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

View File

@ -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