File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ dist: xenial
22
33sudo : false
44
5+ # safelist (buil & deploy only for tagged version)
6+ branches :
7+ only :
8+ - /^v\d+\.\d+(\.\d+)?(-\S*)?$/
9+
510language : python
611
712install :
1116 global :
1217 - ECOGEN_ENV=production
1318 -
GIT_DEPLOY_REPO=https://[email protected] /code-mphi/ECOGEN.git 14- - SOURCE_BRANCH="devel"
1519 - TARGET_BRANCH="gh-pages"
1620
1721addons :
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -e # Exit with nonzero exit code if anything fails
33
4- # deploy only under travis request for devel branch
5- if [ " $TRAVIS_PULL_REQUEST " != " false" -o " $TRAVIS_BRANCH " != " $SOURCE_BRANCH " ]; then
4+ # deploy only under travis request
5+ if [ " $TRAVIS_PULL_REQUEST " != " false" ]; then
66 echo " Skipping deploy."
77 exit 0
88fi
You can’t perform that action at this time.
0 commit comments