-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
56 lines (41 loc) · 1.13 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
language: php
dist: trusty
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
# configure notifications (email, IRC, campfire etc)
notifications:
email: [email protected]
addons:
apt:
packages:
- tidy
#before_install:
#- pip install --user codecov
env:
global:
- CORE_RELEASE=3.6.1
- COMPOSER_ROOT_VERSION=3.6.1
- DISPLAY=":99"
- XVFBARGS=":99 -ac -screen 0 1024x768x16"
- SS_BASE_URL="http://localhost:8080/"
- SS_ENVIRONMENT_TYPE="dev"
matrix:
fast_finish: true
include:
- php: 7.1
env:
- DB=MYSQL
before_script:
- pecl channel-update pecl.php.net
- phpenv rehash
- phpenv config-rm xdebug.ini || true
- composer self-update || true
- echo 'memory_limit = 2048M' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
script:
# Execute tests with no coverage. This is the fastest option
- php framework/cli-script.php dev/build flush=all