Skip to content

Commit c7cf73a

Browse files
committed
.travis.yml: Add cache setting of bats
1 parent 64d68da commit c7cf73a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.travis.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
sudo: false
12
language: c
2-
before_script:
3-
- git clone https://github.com/sstephenson/bats.git
4-
- cd bats
5-
- ./install.sh ..
6-
- cd ..
3+
cache:
4+
directories:
5+
- $HOME/bats
6+
before_install:
7+
- test -f $HOME/bats/install.sh || git clone https://github.com/sstephenson/bats.git $HOME/bats
8+
- bash $HOME/bats/install.sh .
79
script:
810
- bin/bats test/rsvm.sh.bats
9-

0 commit comments

Comments
 (0)