Skip to content

Commit 7d28e87

Browse files
committed
adding before_install to travis
1 parent e80be58 commit 7d28e87

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ cache:
1414
addons:
1515
apt_packages:
1616
- gfortran
17+
18+
before_install:
19+
# don't keep an old version of the code in the cache
20+
- julia -e 'if "GraphicalModelLearning" in keys(Pkg.installed()) Pkg.rm("GraphicalModelLearning"); Pkg.rm("GraphicalModelLearning") end'
21+
- julia -e 'Pkg.update()' #make sure we get the latest version of METADATA
22+
- julia -e 'if !("Coverage" in keys(Pkg.installed())) Pkg.add("Coverage") end'
23+
- julia -e 'if !("Documenter" in keys(Pkg.installed())) Pkg.add("Documenter") end'
24+
1725
script:
1826
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
1927
- julia -e 'Pkg.clone(pwd())'

0 commit comments

Comments
 (0)