Permalink
Fetching contributors…
Cannot retrieve contributors at this time
57 lines (48 sloc) 1.85 KB
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
matrix:
include:
- php: '7.2'
env: COVERAGE='true'
- php: '7.1'
- php: nightly
allow_failures:
- php: nightly
fast_finish: true
before_install:
- echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- phpenv config-rm xdebug.ini || true
- export COMPOSER_ROOT_VERSION=0.9.99
- |
if [ 'false' == "$TRAVIS_PULL_REQUEST" ]; then
cp box.json.dist box.json
openssl aes-256-cbc -K $encrypted_22e6e244c213_key -iv $encrypted_22e6e244c213_iv -in .travis/secrets.tar.enc -out .travis/secrets.tar -d
tar xvf .travis/secrets.tar -C .travis
fi;
install:
- composer install --no-interaction --no-progress --no-suggest --prefer-dist $COMPOSER_FLAGS
script:
- |
if [ "$COVERAGE" == "true" ]; then
make tc
travis_wait 30 make e2e
else
make tu
fi
deploy:
provider: releases
api_key:
secure: 0ei0gMDsask+ro2LeUOPfsi99fbo8img/cUnAjg2RTcV03ANpQ5rZwG6PNBpaPLwGRNF+AGvHl+amrnL5b0ZLAMutif3v6oZLm9M5Kq4H2g3zqcvXkmxhRDvEsUJBqf2UvFEXxF03GZIsM29v3l6H09IfO0rL2itMibfwz9o3ialzanRQCxfBe8bHTsmKMZALA6Xk3/Vhj/cQdK0hVv+D6RGzAIv5AhLU5yLYNtu2UcvXZxdLt4RPwnVflx5Jiu/zsmEM/CuGryHGpHQTfbEh3OQCA1bcEyFWtAp3Ngl8IwA4S/7RLb3ukYhnoKefeYy6e10DUgQvKmekc4e9n53g8Wc8p2DRbA86rcABB0pI3rrIO7tAsvsr7H970Q/Jmn3QdoH0UcnO8JptnvZzSZ5MdbIMH5fsbri5kNIw748jJngAtPi8jFb4ekmkyOL8cpC/3C/S7c/oHE9yqn/WrSNEq181iIP2eYapOA/mWrk+Hysk/O1QH10vTejcJIDjE3tWR+XtuxQrxzfD5M1Vg+pr/G6BDNEom2h6/oKdi1sUwO0XKBpmIgiFTsp9EZA3O9fjoYmcFECc5HFrMtzYf79pNj6d6jggQgQa3LB4BViAsxqc9nYtj7zYsXqFxg3Y63MSsoyHkShzkTQjLKEkQ0EXVL5d8eWWplznQdAKiEDLxc=
file:
- bin/php-scoper.phar
- bin/php-scoper.phar.pubkey
skip_cleanup: true
on:
tags: true
repo: humbug/php-scoper
condition: "$COVERAGE"
notifications:
email: false