Skip to content
Snippets Groups Projects
Commit 2fafce90 authored by Ryan Smith's avatar Ryan Smith
Browse files

ci(travis): Ensures semantic release only runs for PHP 7.1 builds.

parent d62a0eca
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@ env:
# - DB=mysqli
before_install:
- echo $TRAVIS_PHP_VERSION
- composer install --no-interaction
- phpenv config-rm xdebug.ini
- nvm install node
......@@ -47,7 +48,7 @@ script:
- cd $TRAVIS_BUILD_DIR
after_success:
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_PHP_VERSION" == "7.1" ]; then
git fetch --tags;
npm i semantic-release;
npm i last-release-git;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment