-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
32 lines (28 loc) · 907 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Travis CI configuration file.
language: php
php:
# 5.6
- 7.0
# faster builds on new travis setup not using sudo
sudo: false
# cache vendor dirs
cache:
directories:
- $HOME/.composer/cache
install:
- pwd
- travis_retry composer self-update && composer --version
- travis_retry composer global require "fxp/composer-asset-plugin:^1.3.1"
- travis_retry composer global require "codeception/codeception=2.2.*"
- composer create-project "yiisoft/yii2-app-basic:@dev" frameworks-yii-basic --no-dev
# export PATH="$HOME/.composer/vendor/bin:$PATH"
- travis_retry composer install --prefer-dist --no-interaction
- composer show -i
before_script:
- pwd && ls
- ls ~/.composer/vendor -s -a
script:
- php ~/.composer/vendor/bin/codecept run unit
# vendor/bin/codecept -c vendor/pceuropa/yii2-forms run unit
after_failure:
# cat codeception/_app/runtime/logs/*