aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTad Fisher <tad@simple.com>2017-03-20 15:09:49 -0700
committerTad Fisher <tad@simple.com>2017-03-20 15:09:49 -0700
commit56b9c3bccd00de530661943e1f7027c495a672a2 (patch)
treefbd2235c8540f42eecb4f485dab4167f639aef25 /.travis.yml
parent0737f1f3e8ad8e31b7b5d7eb9b6a6a21eb3781e9 (diff)
Try building for both pass 1.7 and git master
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 4122f71..6a6070e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,6 +2,10 @@ dist: trusty
language: bash
+env:
+ - PASS_VERSION=1.7
+ - PASS_VERSION=master
+
addons:
apt:
sources:
@@ -12,9 +16,9 @@ addons:
- shellcheck
before_script:
- - wget https://git.zx2c4.com/password-store/snapshot/password-store-1.7.tar.xz
- - tar -xvf password-store-1.7.tar.xz
- - ln -s password-store-1.7/src/password-store.sh pass
+ - wget https://git.zx2c4.com/password-store/snapshot/password-store-$PASS_VERSION.tar.xz
+ - tar -xvf password-store-$PASS_VERSION.tar.xz
+ - ln -s password-store-$PASS_VERSION/src/password-store.sh pass
- export PATH=$PATH:.
- export TEST_OPTS="-v"