File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ branches:
9
9
10
10
# # Documentation: http://docs.travis-ci.com/user/languages/julia/
11
11
language : julia
12
- sudo : false
12
+ sudo : true
13
13
dist : trusty
14
14
os :
15
15
- linux
@@ -23,26 +23,21 @@ notifications:
23
23
24
24
env :
25
25
global :
26
- - PYTHON=conda
26
+ - PYTHON=python3
27
27
28
28
before_install :
29
- - |
30
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
31
- julia -e 'using Pkg; Pkg.add("Conda")'
32
- julia -e 'using Conda; Conda.add("scikit-learn")'
33
- julia -e 'using Pkg; Pkg.build("PyCall"); Pkg.update()'
34
- fi
29
+ - julia -e 'using Pkg; Pkg.add("Conda")'
30
+ - sudo apt update && sudo apt install -y python3-pip
31
+ - julia -e 'using Conda; Conda.add("scikit-learn")'
32
+ - julia -e 'using Pkg; Pkg.add("PyCall")'
35
33
36
34
before_script :
37
35
- |
38
36
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
39
37
brew update
40
38
brew upgrade cmake
41
39
fi
42
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
43
- julia -e 'using Pkg; Pkg.add("Conda")'
44
- julia -e 'using Pkg; Pkg.build("PyCall"); Pkg.update()'
45
- fi
40
+ - julia -e 'using Pkg; Pkg.build("PyCall"); Pkg.update()'
46
41
47
42
after_success :
48
43
# push coverage results to Codecov
You can’t perform that action at this time.
0 commit comments