-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
36 lines (30 loc) · 1.06 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
language: php
php:
- 7
- 7.1
# - hhvm
env:
- secure: "aRt7YZbnHZk25FwsV6WWRcA8/6i8PO/YI+S3Yrq/fgZzUC2M3YLIVOoq6/N02zgR01SoZ8iIZ3nM+EEXv+eH3lsHeYyVC4rnKuR0lTzRLKdSXHzXk2lEEzmt4sjaigQnoBDGP9gX4nAPlRB6AQmx6XlA3l4zzANJXcmew8qdIr0="
addons:
apt:
packages:
- apache2
- libapache2-mod-fastcgi
before_script:
- lsb_release -a
- lscpu
# - sudo apt-get install apache2 libapache2-mod-fastcgi
# - sudo cp ~/.phpenv/versions/$(phpenv version-name)/etc/php-fpm.conf.default ~/.phpenv/versions/$(phpenv version-name)/etc/php-fpm.conf
# - sudo a2enmod rewrite actions fastcgi alias
# - echo "cgi.fix_pathinfo = 1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
# - ~/.phpenv/versions/$(phpenv version-name)/sbin/php-fpm
# - sudo cp -f .travis-build/travis-ci-apache /etc/apache2/sites-available/default
# - sudo sed -e "s?%TRAVIS_BUILD_DIR%?$(pwd)?g" --in-place /etc/apache2/sites-available/default
# - sudo service apache2 restart
install:
- composer install
script:
- echo $SUPERSECRET
- ".travis-build/phplint ."
# - "phpunit"
notifications: