forked from GenXProject/GenX.jl
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
55 lines (55 loc) · 1.08 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Documentation: http://docs.travis-ci.com/user/languages/julia
language: julia
notifications:
email: false
julia:
- 1.6
- 1.7
- 1.8
#- 1.9
- nightly
coveralls: true
branches:
only:
- main
- gh-pages
os:
- linux
#- osx
arch:
- x64
cache:
directories:
- ~/.julia/artifacts
jobs:
fast_finish: true
allow_failures:
# - julia: nightly
include:
- stage: Documentation
julia: 1.6
script: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
using Documenter: DocMeta, doctest
using GenX
DocMeta.setdocmeta!(GenX, :DocTestSetup, :(using GenX); recursive=true)
doctest(GenX)
include("docs/make.jl")'
after_success: skip
after_success:
- |
julia -e '
using Pkg
Pkg.add("Coverage")
using Coverage
Codecov.submit(process_folder())'
- |
julia -e '
using Pkg
Pkg.add("Coverage")
using Coverage
Coveralls.submit(process_folder())'
#install: travis_wait 30 mvn install