-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.travis.yml
More file actions
40 lines (32 loc) · 861 Bytes
/
.travis.yml
File metadata and controls
40 lines (32 loc) · 861 Bytes
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
33
34
35
36
37
38
39
40
sudo: required
language: php
php: 7.0
env:
global:
- TEST_COMMAND=$(echo $TRAVIS_REPO_SLUG | cut -d/ -f 2) # Get command name to be tested
before_script:
- sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
- |
# Remove Xdebug for a huge performance increase:
if [ -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ]; then
phpenv config-rm xdebug.ini
else
echo "xdebug.ini does not exist"
fi
- ./ci/prepare.sh
script:
- cd "$TRAVIS_BUILD_DIR/../easyengine"
- sudo ./vendor/bin/behat
after_script:
- cat /opt/easyengine/logs/ee.log
cache:
directories:
- $HOME/.composer/cache
notifications:
email:
on_success: never
on_failure: change
addons:
apt:
packages:
- docker-ce