Skip to content

Commit dda1180

Browse files
committed
Update the .travis.yml to test the module on both OSX and Windows. Additionally, fix the documentation stage by installing Python + matplotlib (so that plots can be generated with PyPlot).
1 parent 41e6c45 commit dda1180

File tree

1 file changed

+30
-4
lines changed

1 file changed

+30
-4
lines changed

.travis.yml

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
language: julia
22

3-
codecov: true
4-
coveralls: true
5-
63
notifications:
74
email: false
85

96
jobs:
107
allow_failures:
118
- env: TRAVIS_JULIA_VERSION=nightly
9+
- env: TRAVIS_OS_NAME=windows
1210
include:
13-
### Tests
11+
###### Tests
12+
### Julia 1.3
1413
- stage: "Test (Julia 1.3)"
1514
julia: 1.3
1615
os: linux
@@ -22,17 +21,44 @@ jobs:
2221
- julia -e 'using Coverage; Coveralls.submit(Coveralls.process_folder());'
2322
- julia -e 'using Coverage; Codecov.submit(Codecov.process_folder());'
2423

24+
- stage: # Test (Julia 1.3)
25+
julia: 1.3
26+
os: osx
27+
script:
28+
- julia --color=yes -e 'using Pkg; Pkg.activate(); Pkg.instantiate(); Pkg.test()'
29+
30+
- stage: # Test (Julia 1.3)
31+
julia: 1.3
32+
os: windows
33+
script:
34+
- julia --color=yes -e 'using Pkg; Pkg.activate(); Pkg.instantiate(); Pkg.test()'
35+
36+
### Julia nightly
2537
- stage: "Test (Julia nightly)"
2638
julia: nightly
2739
os: linux
2840
script:
2941
- julia --color=yes -e 'using Pkg; Pkg.activate(); Pkg.instantiate(); Pkg.test()'
3042

43+
- stage: # Test (Julia nightly)
44+
julia: nightly
45+
os: osx
46+
script:
47+
- julia --color=yes -e 'using Pkg; Pkg.activate(); Pkg.instantiate(); Pkg.test()'
48+
49+
- stage: # Test (Julia nightly)
50+
julia: nightly
51+
os: windows
52+
script:
53+
- julia --color=yes -e 'using Pkg; Pkg.activate(); Pkg.instantiate(); Pkg.test()'
54+
3155
### Documentation generation
3256
- stage: "Documentation"
3357
julia: 1.3
58+
python: 3.7
3459
os: linux
3560
script:
61+
- pip install --user matplotlib
3662
- julia --project=docs -e 'using Pkg; Pkg.instantiate(); Pkg.add(PackageSpec(path=pwd()))'
3763
- julia --project=docs --color=yes docs/make.jl
3864
after_success: skip

0 commit comments

Comments
 (0)