Skip to content

Commit 6ade6ff

Browse files
committed
travis
1 parent 345dd02 commit 6ade6ff

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.travis.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
language: php
22
php:
3-
- 5.4
4-
- 5.5
53
- 5.6
64

75
# faster builds on new travis setup not using sudo
@@ -21,18 +19,19 @@ install:
2119
- travis_retry composer global require "codeception/codeception=2.0.*" "codeception/specify=*" "codeception/verify=*"
2220
# setup application:
2321
- |
22+
ls -l
2423
chmod a+x ./init
2524
./init --env=Development
26-
sed -i s/root/travis/ common/config/main-local.php
27-
sed -i "s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/" backend/config/main.php
28-
cd tests/codeception/backend && codecept build
29-
cd ../common && codecept build
30-
cd ../console && codecept build
31-
cd ../rest && codecept build
32-
cd ../../../
25+
sed -i s/root/travis/ ./common/config/main-local.php
26+
sed -i "s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/" ./backend/config/main.php
27+
cd ./tests/codeception/backend && codecept build
28+
cd ./../common && codecept build
29+
cd ./../console && codecept build
30+
cd ./../rest && codecept build
31+
cd ./../../../
3332
3433
before_script:
35-
- cd tests/codeception/bin && php yii migrate --interactive=0 && cd ../../..
34+
- cd ./tests/codeception/bin && php yii migrate --interactive=0 && cd ../../..
3635

3736
script:
3837
- |

0 commit comments

Comments
 (0)