forked from LearningLocker/learninglocker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (25 loc) · 869 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
language: php
php:
- 5.5
services:
- mongodb
install:
- echo y | pecl install mongo
- php -r "readfile('https://getcomposer.org/installer');" | php
- php composer.phar install --no-interaction --dev
before_script:
- phpenv config-add travisconfig.ini
- sleep 3
- sudo chmod -R 777 ./uploads
- php artisan migrate --env="testing"
script:
- ./vendor/bin/phpunit
- sh test.sh
notifications:
slack:
secure: bSHZUJ5uisX15oQVLu/6Q+Q6719//x1oWo02noCY2WhXTszTbdKV25OG34pwcndO7AfrXLetm6CAF46Yj0K+GzwEtqjear8JQj8ugnZmjJTG0prYNzFJic7Lkf2a+2mROBDd60cLDW3OMGhBvxMV5ZEhutQ9o+fwMgcbKIy/gAM=
webhooks:
urls:
- secure: "IH89fjFa94bV0+RCyoRYcUGpBDT/F87Vdpki+wH7HoowVN7Zsv0O+V6Bl6Xl31VqrEJ3KmBcVpm4KL3Fkv081NqRmC03pqyNmLhHzf10k2m6kFm52pwD6t8f4eoRHuCHnbFdAMBCBfQbXC8oVFXtSNtfISYikCrs6uZ/cwmAxWk="
on_success: change
on_failure: change