Skip to content

Commit

Permalink
use Pkg in CI scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dpo authored and abelsiqueira committed Sep 23, 2018
1 parent b1bc84e commit cceaa98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -22,4 +22,4 @@ notifications:

script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.clone(pwd()); Pkg.build("BenchmarkProfiles"); Pkg.test("BenchmarkProfiles"; coverage=true)'
- julia -e 'using Pkg; Pkg.clone(pwd()); Pkg.build("BenchmarkProfiles"); Pkg.test("BenchmarkProfiles"; coverage=true)'
6 changes: 3 additions & 3 deletions appveyor.yml
Expand Up @@ -37,8 +37,8 @@ install:
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(), \"BenchmarkProfiles\"); Pkg.build(\"BenchmarkProfiles\")"
- C:\projects\julia\bin\julia -e "using InteractiveUtils; versioninfo();
using Pkg; Pkg.clone(pwd(), \"BenchmarkProfiles\"); Pkg.build(\"BenchmarkProfiles\")"

test_script:
- C:\projects\julia\bin\julia --check-bounds=yes -e "Pkg.test(\"BenchmarkProfiles\")"
- C:\projects\julia\bin\julia --check-bounds=yes -e "using Pkg; Pkg.test(\"BenchmarkProfiles\")"

0 comments on commit cceaa98

Please sign in to comment.