Skip to content

Commit

Permalink
Fix verification of tzdata default (#93)
Browse files Browse the repository at this point in the history
* Correct default tzdata version check

Bash command would have non-zero return code if deps/build.jl was
unchanged.
  • Loading branch information
omus authored Nov 3, 2017
1 parent 73f43ca commit a42eb12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# Avoid setting JULIA_TZ_VERSION if the deps/build.jl file has been modified
- git fetch origin +:refs/remotes/origin/HEAD; git diff --name-only origin/HEAD HEAD | grep -qx "deps/build.jl" && unset JULIA_TZ_VERSION
- git fetch origin +:refs/remotes/origin/HEAD; if ! git diff --quiet origin/HEAD HEAD -- deps/build.jl; then unset JULIA_TZ_VERSION; fi
- OPTIONS=$(julia -e 'isdefined(Base.JLOptions(), :use_compilecache) && print("--compilecache=no")')
- julia $OPTIONS -e 'Pkg.clone(pwd()); Pkg.build("TimeZones"); Pkg.test("TimeZones"; coverage=true)';
after_success:
Expand Down

0 comments on commit a42eb12

Please sign in to comment.