Skip to content

Commit 72e1b29

Browse files
Merge #31
31: Fix build r=charleskawczynski a=charleskawczynski - Temporarily fixes the build. Once [#9259](JuliaRegistries/General#9259) merges, we can pin a specific version for this example so that this build doesn't break with changes to `Cloudy.jl`'s master Thanks to @rohanmclure (co-authored)! Co-authored-by: Charles Kawczynski <[email protected]>
2 parents 59edfb2 + 5b211d5 commit 72e1b29

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

.travis.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ branches:
99

1010
## Documentation: http://docs.travis-ci.com/user/languages/julia/
1111
language: julia
12-
sudo: false
13-
dist: trusty
12+
sudo: true
13+
dist: xenial
1414
os:
1515
- linux
1616
- osx
@@ -23,19 +23,23 @@ notifications:
2323

2424
env:
2525
global:
26-
- PYTHON=conda
27-
26+
- PYTHON=python3
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")'
33+
- python3 -m pip install --user -U numpy scipy scikit-learn
3034
- julia -e 'using Conda; Conda.add("scikit-learn")'
35+
- julia -e 'using Pkg; Pkg.add("PyCall")'
3136

3237
before_script:
3338
- |
3439
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
3540
brew update
3641
brew upgrade cmake
3742
fi
38-
- pip install --user -U numpy scipy scikit-learn
3943
- julia -e 'using Pkg; Pkg.build("PyCall"); Pkg.update()'
4044

4145
after_success:
@@ -58,4 +62,4 @@ jobs:
5862
Pkg.instantiate();
5963
Pkg.build("CalibrateEmulateSample")'
6064
- julia --color=yes --project=docs/ docs/make.jl
61-
after_success: skip
65+
after_success: skip

test/Cloudy/runtests.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11

22
# Import Cloudy modules
33
using Pkg; Pkg.add(PackageSpec(url="https://github.com/climate-machine/Cloudy.jl"))
4+
# using Pkg; Pkg.add("Cloudy"))
45
using Cloudy
56
using Cloudy.KernelTensors
6-
PDistributions = Cloudy.Distributions
7+
PDistributions = Cloudy.ParticleDistributions
78
Pkg.add("Plots")
89

910
# Import modules

0 commit comments

Comments
 (0)