forked from dink/ching-shop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (36 loc) · 981 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
36
language: php
php:
- '7.0'
sudo: false
services:
- elasticsearch
- redis-server
install:
- export PATH=$PATH:$PWD/vendor/bin/
- mkdir -p build/logs
- printf "\n" | pecl install imagick
- echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- composer install --no-interaction --no-scripts
- composer require satooshi/php-coveralls:dev-master
- cp -n .env.travis .env
- nvm install 6 && nvm use 6
- rm -rf node_modules
- npm install -g npm
- npm cache clear
- npm install --no-progress
- npm install --no-progress -g gulp
- npm install --no-progress -g typings
- npm rebuild node-sass
- bundler install
- gulp
- php artisan key:generate
- php artisan storage:link
- php artisan route:cache; php artisan config:cache; php artisan optimize
script:
- ls
- ls tests
- cat phpunit.xml
- ./vendor/phpunit/phpunit/phpunit --version
- make test
after_success:
- travis_retry php vendor/bin/coveralls