mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Correct travis configuration.
This commit is contained in:
parent
ff4e1838bc
commit
b057d69f8e
@ -1,7 +1,8 @@
|
|||||||
language: php
|
language: php
|
||||||
sudo: false
|
sudo: false
|
||||||
php:
|
php:
|
||||||
- 7
|
- '7.0'
|
||||||
|
- hhvm
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- phpenv config-rm xdebug.ini
|
- phpenv config-rm xdebug.ini
|
||||||
@ -13,7 +14,7 @@ install:
|
|||||||
- php artisan env
|
- php artisan env
|
||||||
- mv -v .env.testing .env
|
- mv -v .env.testing .env
|
||||||
- php artisan env
|
- php artisan env
|
||||||
- test.sh --notest
|
- ./test.sh --notest
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- phpunit
|
- phpunit
|
5
test.sh
5
test.sh
@ -34,8 +34,11 @@ fi
|
|||||||
cp $DATABASECOPY $DATABASE
|
cp $DATABASECOPY $DATABASE
|
||||||
|
|
||||||
# run PHPUnit
|
# run PHPUnit
|
||||||
|
if [ "$1" == "--notest" ]; then
|
||||||
|
echo "Must not run PHPUnit"
|
||||||
|
else
|
||||||
phpunit
|
phpunit
|
||||||
|
fi
|
||||||
|
|
||||||
# restore current config:
|
# restore current config:
|
||||||
mv .env.current .env
|
mv .env.current .env
|
Loading…
Reference in New Issue
Block a user