Skip to content

Commit 97bdc5b

Browse files
committed
Add deployment system back in
1 parent 3ae4201 commit 97bdc5b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ notifications:
1212
branches:
1313
only:
1414
- master
15+
- /^release-.+$/
1516

1617
cache:
1718
directories:
@@ -20,7 +21,7 @@ cache:
2021
env:
2122
global:
2223
- PATH="$TRAVIS_BUILD_DIR/vendor/bin:$PATH"
23-
- WP_CLI_BIN_DIR="$TRAVIS_BUILD_DIR/vendor/bin"
24+
- WP_CLI_BIN_DIR=/tmp/wp-cli-phar
2425

2526
before_install:
2627
- |
@@ -37,6 +38,7 @@ before_install:
3738

3839
install:
3940
- composer install
41+
- ./ci/prepare.sh
4042
- composer prepare-tests
4143

4244
script:
@@ -72,3 +74,6 @@ jobs:
7274
php: 5.4
7375
dist: precise
7476
env: WP_VERSION=latest
77+
- stage: deploy
78+
env: DEPLOY_BRANCH=master
79+
script: ./ci/deploy.sh

0 commit comments

Comments
 (0)