File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 17
17
18
18
env :
19
19
global :
20
- - PATH="$HOME/.composer /vendor/bin:$PATH"
21
- - WP_CLI_BIN_DIR="$HOME/.composer /vendor/bin"
20
+ - PATH="$TRAVIS_BUILD_DIR /vendor/bin:$PATH"
21
+ - WP_CLI_BIN_DIR="$TRAVIS_BUILD_DIR /vendor/bin"
22
22
23
23
matrix :
24
24
include :
@@ -33,11 +33,11 @@ matrix:
33
33
- php : 5.3
34
34
env : WP_VERSION=latest
35
35
36
- install :
36
+ before_install :
37
37
- phpenv config-rm xdebug.ini
38
- - composer global require wp-cli/wp-cli:dev-master
39
- - composer global require behat/behat:~2.5
40
- - composer install --no-dev
38
+
39
+ install :
40
+ - composer install
41
41
- bash bin/install-package-tests.sh
42
42
43
43
before_script :
Original file line number Diff line number Diff line change 18
18
"autoload" : {
19
19
"files" : [ " command.php" ]
20
20
},
21
- "require" : {},
21
+ "require" : {
22
+ "wp-cli/wp-cli" : " ~1.0.0"
23
+ },
22
24
"require-dev" : {
23
25
"behat/behat" : " ~2.5"
24
26
},
You can’t perform that action at this time.
0 commit comments