PkgTemplates.jl/.travis.yml
Curtis Vogt e258aacd7a Use literal block style for multi-line YAML
Allows for Julia code to not require the use of semi-colon which is
matches how most users will write Julia code. An additional benefit
is that it allows for use of single line comments.
2020-02-14 12:09:13 -06:00

42 lines
940 B
YAML

language: julia
notifications:
email: false
os:
- linux
- osx
- windows
julia:
- 1.0
- 1.3
- nightly
before_script:
- git config --global user.name Tester
- git config --global user.email te@st.er
script: travis_wait julia --project -e 'using Pkg; Pkg.test(coverage=true)'
matrix:
fast_finish: true
allow_failures:
- julia: nightly
include:
- arch: x86
julia: 1.0
- stage: Documentation
julia: 1.0
script:
- git config --global user.name name
- git config --global user.email email
- git config --global github.user username
- |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
include("docs/make.jl")'
after_success: skip
after_success: |
julia -e '
using Pkg
Pkg.add("Coverage")
using Coverage
Codecov.submit(process_folder())'