Permalink
Browse files

regress: Travis: Test different versions in different jobs.

  • Loading branch information...
1 parent a8a8241 commit e70a44a3c54f145657763ad50810900c1937a1d9 @gregordick gregordick committed Oct 18, 2016
Showing with 11 additions and 4 deletions.
  1. +5 −0 .travis.yml
  2. +6 −4 regress/scripts/travis.sh
View
@@ -10,6 +10,11 @@ branches:
- calcalc
- master
+env:
+ - VERSION=1960
+ - VERSION=Divino
+ - VERSION=1570
+
notifications:
email:
recipients:
@@ -8,6 +8,7 @@ source "${basedir}/util.sh"
parent_rev="$(echo ${TRAVIS_COMMIT_RANGE} |
perl -ne '/(.*)\.\.\./ && print $1')"
test_rev="${TRAVIS_COMMIT}"
+short_version="${VERSION}"
# Check validity of commits.
git rev-parse --verify "${parent_rev}"
@@ -16,7 +17,8 @@ git rev-parse --verify "${test_rev}"
mdy_date() { date "$@" +'%m-%d-%Y'; }
# Test two consecutive years, starting from today.
-"${basedir}/generate-diff.sh" \
- "${parent_rev}" \
- "${test_rev}" \
- <(echo "$(mdy_date):$(mdy_date -d '+ 2 years - 1 day')")
+"${basedir}/generate-diff.sh" \
+ "${parent_rev}" \
+ "${test_rev}" \
+ <(echo "$(mdy_date):$(mdy_date -d '+ 2 years - 1 day')") \
+ "${short_version}"

0 comments on commit e70a44a

Please sign in to comment.