Skip to content

Commit

Permalink
Use cache to speed up builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
jairojunior committed Dec 4, 2016
1 parent c331465 commit dfb6c87
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ sudo: false
cache:
directories:
- vendor/bundle
- wget_cache
rvm:
- 2.0.0
- 2.1.9
Expand Down
4 changes: 4 additions & 0 deletions spec/acceptance/nodesets/docker/centos-6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ HOSTS:
hypervisor : docker
docker_preserve_image: true
docker_cmd: '["/sbin/init"]'
mount_folders:
cache:
host_path: wget_cache/
container_path: /var/cache/wget
4 changes: 4 additions & 0 deletions spec/acceptance/nodesets/docker/debian-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ HOSTS:
- apt-get install -yq wget net-tools
- rm /lib/systemd/system/systemd*udev*
- rm /lib/systemd/system/getty.target
mount_folders:
cache:
host_path: wget_cache/
container_path: /var/cache/wget

0 comments on commit dfb6c87

Please sign in to comment.