Skip to content

Commit 9fcc75b

Browse files
committed
Merge pull request #108 from helpfulrobot/add-standard-travis-config
Added standard Travis config
2 parents dbafc88 + 2dd717c commit 9fcc75b

File tree

1 file changed

+27
-14
lines changed

1 file changed

+27
-14
lines changed

.travis.yml

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,38 @@
11
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
22

3-
language: php
4-
php:
5-
- 5.3
3+
sudo: false
4+
5+
language: php
6+
7+
php:
8+
- 5.3
9+
- 5.4
10+
- 5.5
11+
- 5.6
12+
- 7.0
613

714
env:
8-
- DB=MYSQL CORE_RELEASE=3
15+
- DB=MYSQL CORE_RELEASE=3.2
916

1017
matrix:
1118
include:
12-
- php: 5.4
13-
env: DB=PGSQL CORE_RELEASE=3
14-
- php: 5.5
15-
env: DB=MYSQL CORE_RELEASE=3.2
1619
- php: 5.6
17-
env: DB=MYSQL CORE_RELEASE=3.2
20+
env: DB=MYSQL CORE_RELEASE=3
21+
- php: 5.6
22+
env: DB=MYSQL CORE_RELEASE=3.1
23+
- php: 5.6
24+
env: DB=PGSQL CORE_RELEASE=3.2
1825

1926
before_script:
20-
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
21-
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
22-
- cd ~/builds/ss
27+
- composer self-update || true
28+
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
29+
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
30+
- cd ~/builds/ss
31+
- composer install
32+
33+
script:
34+
- vendor/bin/phpunit widgets/tests
2335

24-
script:
25-
- vendor/bin/phpunit widgets/tests/
36+
matrix:
37+
allow_failures:
38+
- php: 7.0

0 commit comments

Comments
 (0)