forked from Coder-Spirit/Jupyter-PHP-Installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (28 loc) · 808 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
33
34
35
sudo: false
language: php
cache:
directories:
- "$HOME/.composer/cache"
- vendor
matrix:
fast_finish: true
include:
- php: 5.5
- php: 5.6
env:
- EXECUTE_DEPLOYMENT=true
- php: 7.0
- php: hhvm
allow_failures:
- php: hhvm
before_install:
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini ; fi
- travis_retry composer self-update
install:
- travis_retry composer install --prefer-source --no-interaction
- composer info -i
script:
- vendor/bin/phpunit
after_success:
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_PULL_REQUEST == 'false' ]]; then composer install --no-dev --prefer-dist --no-interaction ; fi
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_PULL_REQUEST == 'false' ]]; then ./bin/deploy.sh ; fi