Skip to content

Commit

Permalink
Use docker to update zoneinfo prior to build
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed May 15, 2017
1 parent a0e8846 commit 7fc987a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Expand Up @@ -7,6 +7,12 @@ jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
sudo: required
services:
- docker
before_install:
- docker pull benfortuna/tzurl
- docker run -v $(pwd)/src/main/resources/zoneinfo:/zoneinfo -it benfortuna/tzurl rsync -av --delete /usr/local/apache2/htdocs/zoneinfo /
script:
- ./gradlew check
deploy:
Expand All @@ -21,7 +27,6 @@ deploy:
tags: true
jdk: openjdk7
before_deploy: "./gradlew assembleMainDist"
sudo: true
addons:
hostname: travis-ci
after_script:
Expand Down

0 comments on commit 7fc987a

Please sign in to comment.