Skip to content

Commit e86684c

Browse files
committed
Travis CI: fix matrix and jobs sections clash
merge "matrix" and "jobs" sections under the "jobs" name (the error identified by Travis config validation)
1 parent e0a67eb commit e86684c

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.travis.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,9 @@ julia:
77
- 1.0
88
- 1
99
- nightly
10-
matrix:
10+
jobs:
1111
allow_failures:
1212
- julia: nightly
13-
notifications:
14-
email: false
15-
# uncomment the following lines to override the default test script
16-
#script:
17-
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
18-
# - julia -e 'using Pkg; Pkg.add(pwd()); Pkg.build("Clustering"); Pkg.test("Clustering"; coverage=true)'
19-
after_success:
20-
- julia -e 'using Pkg, Clustering; cd(joinpath(dirname(pathof(Clustering)), "..")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())';
21-
22-
jobs:
2313
include:
2414
- stage: "Documentation"
2515
julia: 1
@@ -28,3 +18,11 @@ jobs:
2818
- julia --project=doc/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate();'
2919
- julia --project=doc/ doc/make.jl
3020
after_success: skip
21+
notifications:
22+
email: false
23+
# uncomment the following lines to override the default test script
24+
#script:
25+
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
26+
# - julia -e 'using Pkg; Pkg.add(pwd()); Pkg.build("Clustering"); Pkg.test("Clustering"; coverage=true)'
27+
after_success:
28+
- julia -e 'using Pkg, Clustering; cd(joinpath(dirname(pathof(Clustering)), "..")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())';

0 commit comments

Comments
 (0)