Skip to content

Commit 2b34ae7

Browse files
committed
trying to fix travis
1 parent ecdedea commit 2b34ae7

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.travis.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,30 @@
11
language: julia
2+
23
os:
34
- linux
5+
46
julia:
57
- 1.0
68
- 1.1
79
- nightly
10+
811
notifications:
912
email: false
13+
1014
matrix:
1115
allow_failures:
1216
- julia: 1.1
1317
- julia: nightly
18+
19+
# script:
20+
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
21+
# - julia --check-bounds=yes -e 'using Pkg; Pkg.clone(pwd()); Pkg.build("DistributedFactorGraphs"); Pkg.test("DistributedFactorGraphs"; coverage=true)'
22+
1423
script:
1524
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
16-
- julia --check-bounds=yes -e 'using Pkg; Pkg.clone(pwd()); Pkg.build("DistributedFactorGraphs"); Pkg.test("DistributedFactorGraphs"; coverage=true)'
25+
- julia --project --check-bounds=yes -e 'using UUIDs; write("Project.toml", replace(read("Project.toml", String), r"uuid = .*?\n" =>"uuid = \"$(uuid4())\"\n"));
26+
import Pkg; Pkg.build("DistributedFactorGraphs"); Pkg.test("DistributedFactorGraphs"; coverage=true)'
27+
1728
after_success:
1829
- julia -e 'using Pkg; cd(Pkg.dir("DistributedFactorGraphs")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder()); Codecov.submit(process_folder())'
1930

0 commit comments

Comments
 (0)