Skip to content

Commit b4b0d33

Browse files
Rohan's solution again
1 parent ac6b44c commit b4b0d33

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.travis.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ branches:
1010
## Documentation: http://docs.travis-ci.com/user/languages/julia/
1111
language: julia
1212
sudo: true
13-
dist: trusty
13+
dist: xenial
1414
os:
1515
- linux
1616
- osx
@@ -24,10 +24,13 @@ notifications:
2424
env:
2525
global:
2626
- PYTHON=python3
27-
2827
before_install:
28+
- |
29+
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
30+
sudo apt-get update && sudo apt-get install -qq -y python3-pip
31+
fi
2932
- julia -e 'using Pkg; Pkg.add("Conda")'
30-
- sudo apt update && sudo apt install -y python3-pip
33+
- python3 -m pip install --user -U numpy scipy scikit-learn
3134
- julia -e 'using Conda; Conda.add("scikit-learn")'
3235
- julia -e 'using Pkg; Pkg.add("PyCall")'
3336

@@ -59,4 +62,4 @@ jobs:
5962
Pkg.instantiate();
6063
Pkg.build("CalibrateEmulateSample")'
6164
- julia --color=yes --project=docs/ docs/make.jl
62-
after_success: skip
65+
after_success: skip

0 commit comments

Comments
 (0)