forked from impresspages/ImpressPages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (27 loc) · 1.08 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
language: php
php:
- 5.3
notifications:
email:
on_success: change
on_failure: change
env:
global:
# SAUCE
- secure: "fwebeORlyqO1sXaOVSx7sxeAlmWr6q68RpZWSWmp5Kdu3XcfhV/v3jcH2nIpfDLkFq2rtQw1h+dRcSdHClYedDnr/Vp9fKMkscroNWTn+QqYAJtZTWZIDs3B0B+Ea3wNc1chN7iOXdr2wrz+aX7fyw8olSoEz/+lTBNnJEJovlM="
- secure: "jlcxYPI1ndqrAV/+IVzFf/BtL0W0oxnFAgl52wFkkgH8c2DHG8Cf2vIF7JVZs0+fhjamuyAiLO9dktowSaWA/SXXbZIBap+DKPpHCp3gjGfXlLF1wwUTT+m5PAMtsoHCs4m3yjTdyAH/Foa8uEbkcZ+mdLEjrcQV8ZxosTSl1jk="
matrix:
- TEST_GROUP=unit
- TEST_GROUP=Sauce
#matrix:
# allow_failures:
# - env: "TEST_GROUP=other"
before_script:
- cd phpunit
- ./travis-db-create.sh
# - composer --prefer-source install # prefer-source is used to avoid github api limit
- composer install # prefer-source is used to avoid github api limit
# - ./travis-nginx-install.sh
- ./travis-apache-install.sh
- sh -c "if [ $TEST_GROUP = "Sauce" ] && [ $TRAVIS_SECURE_ENV_VARS = "true" ]; then curl https://gist.githubusercontent.com/santiycr/5139565/raw/sauce_connect_setup.sh | bash; fi"
script: ./travis-tests.sh