Skip to content

Commit 87e8059

Browse files
committed
update travis to work with python 3
1 parent a9d5745 commit 87e8059

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.travis.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,13 @@ before_install:
1313
- bash miniconda.sh -b -p $HOME/miniconda
1414
- export PATH=$HOME/miniconda/bin:$PATH
1515
#create julia conda enviornment
16-
- conda create -n conda_jl --yes python=2.7 conda
16+
- conda create -n conda_jl --yes python=3.7 conda
1717
- source activate conda_jl
18-
#install used packages
1918
- conda install -c rmg --yes rmg
20-
- conda install -c rmg --yes rdkit
21-
- conda install --yes pydot
22-
- conda install --yes yaml
2319
- conda update --yes conda
2420
script:
2521
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
26-
- travis_wait julia -e 'using Pkg; Pkg.clone("https://github.com/ReactionMechanismGenerator/ReactionMechanismSimulator.jl.git");'
22+
- travis_wait julia -e 'using Pkg; Pkg.add(PackageSpec(path="ReactionMechanismSimulator.jl"));'
2723
- travis_wait julia -e 'using Pkg; Pkg.build("ReactionMechanismSimulator"); Pkg.test("ReactionMechanismSimulator"; coverage=true);'
2824
after_success:
2925
- julia -e 'cd(Pkg.dir("ReactionMechanismSimulator")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'

0 commit comments

Comments
 (0)