Skip to content

Commit

Permalink
Skip Pkg.clone(pwd()) in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Jul 20, 2018
1 parent 088fd71 commit a415049
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ notifications:
sudo: false
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.clone(pwd()); Pkg.build("ForwardDiff"); Pkg.test("ForwardDiff"; coverage=true)';
- julia -e 'using Pkg; Pkg.build("ForwardDiff"); Pkg.test("ForwardDiff"; coverage=true)';
- julia -O3 -e 'include("test/SIMDTest.jl")';
after_success:
- julia -e 'Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
- julia -e 'Pkg.add("Documenter")'
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
- julia -e 'using Pkg; Pkg.add("Documenter")'
- julia -e 'include("docs/make.jl")'
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ build_script:
# Need to convert from shallow to complete for Pkg.clone to work
- IF EXIST .git\shallow (git fetch --unshallow)
- C:\projects\julia\bin\julia -e "versioninfo();
Pkg.clone(pwd(), \"ForwardDiff\"); Pkg.build(\"ForwardDiff\")"
using Pkg; Pkg.build(\"ForwardDiff\")"

test_script:
- C:\projects\julia\bin\julia -e "Pkg.test(\"ForwardDiff\")"
- C:\projects\julia\bin\julia -e "using Pkg; Pkg.test(\"ForwardDiff\")"

0 comments on commit a415049

Please sign in to comment.