Skip to content

Commit 81c6939

Browse files
authored
Merge pull request #11 from JuliaRobotics/feature/addtomls
add project toml
2 parents b03c180 + b895094 commit 81c6939

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
*.jl.mem
44
deps/deps.jl
55
docs/build
6+
Manifest.toml

.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+
1419
script:
1520
- 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)'
21+
- julia --project --check-bounds=yes -e 'using UUIDs; write("Project.toml", replace(read("Project.toml", String), r"uuid = .*?\n" =>"uuid = \"$(uuid4())\"\n"));
22+
import Pkg; Pkg.build("DistributedFactorGraphs"); Pkg.test("DistributedFactorGraphs"; coverage=true)'
23+
24+
# script:
25+
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
26+
# - julia --check-bounds=yes -e 'using Pkg; Pkg.clone(pwd()); 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

Project.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name = "DistributedFactorGraphs"
2+
uuid = "b5cc3c7e-6572-11e9-2517-99fb8daf2f04"
3+
version = "0.0.0"
4+
5+
[deps]
6+
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
7+
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
8+
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
9+
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
10+
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
11+
12+
[compat]
13+
julia = "1.0, 1.1"
14+
15+
[extras]
16+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
17+
18+
[targets]
19+
test = ["Test"]

0 commit comments

Comments
 (0)