Skip to content

Commit d7095c8

Browse files
authored
Merge pull request #189 from alyst/ci_latest_julia
* Fix Documentation build in Travis CI (clash between *matrix* and *jobs*) * Test on latest stable 1.x Julia
2 parents c174ab6 + e86684c commit d7095c8

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

.travis.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,19 @@ os:
55
- osx
66
julia:
77
- 1.0
8-
- 1.1
8+
- 1
99
- nightly
10-
matrix:
10+
jobs:
1111
allow_failures:
1212
- julia: nightly
13+
include:
14+
- stage: "Documentation"
15+
julia: 1
16+
os: linux
17+
script:
18+
- julia --project=doc/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate();'
19+
- julia --project=doc/ doc/make.jl
20+
after_success: skip
1321
notifications:
1422
email: false
1523
# uncomment the following lines to override the default test script
@@ -18,13 +26,3 @@ notifications:
1826
# - julia -e 'using Pkg; Pkg.add(pwd()); Pkg.build("Clustering"); Pkg.test("Clustering"; coverage=true)'
1927
after_success:
2028
- julia -e 'using Pkg, Clustering; cd(joinpath(dirname(pathof(Clustering)), "..")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())';
21-
22-
jobs:
23-
include:
24-
- stage: "Documentation"
25-
julia: 1.1
26-
os: linux
27-
script:
28-
- julia --project=doc/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate();'
29-
- julia --project=doc/ doc/make.jl
30-
after_success: skip

0 commit comments

Comments
 (0)