Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Jul 3, 2018
1 parent 1a18d4c commit 2c31178
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ branches:

script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia --check-bounds=yes -e 'using UUIDs; write("Project.toml", replace(read("Project.toml", String), r"uuid = .*?\n" =>"uuid = \"$(uuid4())\""));
import Pkg; Pkg.build(); Pkg.test(; coverage=true)'
- julia --project --check-bounds=yes -e 'using UUIDs; write("Project.toml", replace(read("Project.toml", String), r"uuid = .*?\n" =>"uuid = \"$(uuid4())\""));
import Pkg; Pkg.build(); Pkg.test(; coverage=true)'

after_success:
- julia -e 'import Pkg; Pkg.add("Documenter"); include("docs/make.jl")'
- julia -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
- julia --project -e 'import Pkg; Pkg.add("Documenter"); include("docs/make.jl")'
- julia --project -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'

4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ build_script:
# Need to convert from shallow to complete for Pkg.clone to work
# We swap the uuid for Pkg here to make it not load the stdlib version of Pkg
- IF EXIST .git\shallow (git fetch --unshallow)
- C:\projects\julia\bin\julia -e "import InteractiveUtils; versioninfo();
- C:\projects\julia\bin\julia --project -e "import InteractiveUtils; versioninfo();
using UUIDs;
before = read(\"Project.toml\", String);
after = replace(before, \"uuid = \\\"44cfe95a-1eb2-52ea-b672-e2afdf69b78f\\\"\" =>
Expand All @@ -41,5 +41,5 @@ build_script:
import Pkg; Pkg.build()"

test_script:
- C:\projects\julia\bin\julia -e "import Pkg; Pkg.test(; coverage=true)"
- C:\projects\julia\bin\julia --project -e "import Pkg; Pkg.test(; coverage=true)"

0 comments on commit 2c31178

Please sign in to comment.