update to travis-ci file
This commit is contained in:
parent
3c41089a8a
commit
8a6bba0d0b
38
.travis.yml
38
.travis.yml
@ -1,32 +1,30 @@
|
||||
#dist: trusty
|
||||
language: php
|
||||
php:
|
||||
- '7.0'
|
||||
- '7.1'
|
||||
- '7.2'
|
||||
|
||||
- '7.0'
|
||||
- '7.1'
|
||||
- '7.2'
|
||||
services:
|
||||
- mysql
|
||||
|
||||
- mysql
|
||||
before_install:
|
||||
- mysql -e 'CREATE DATABASE IF NOT EXISTS phpvms;'
|
||||
|
||||
- mysql -e 'CREATE DATABASE IF NOT EXISTS phpvms;'
|
||||
before_script:
|
||||
- cp .env.travis .env
|
||||
- composer self-update
|
||||
- composer install --no-interaction
|
||||
|
||||
- cp .env.travis .env
|
||||
- composer self-update
|
||||
- composer install --no-interaction
|
||||
script:
|
||||
- php artisan database:create --reset
|
||||
- php artisan migrate:refresh --seed
|
||||
- cp tests/phpunit.travis.xml phpunit.xml
|
||||
- vendor/bin/phpunit --debug --verbose
|
||||
|
||||
- php artisan database:create --reset
|
||||
- php artisan migrate:refresh --seed
|
||||
- cp tests/phpunit.travis.xml phpunit.xml
|
||||
- vendor/bin/phpunit --debug --verbose
|
||||
after_success:
|
||||
- | # Add binary to GitHub release.
|
||||
- |
|
||||
if test "$TRAVIS_TAG"
|
||||
then
|
||||
echo "Branch name is $TRAVIS_TAG"
|
||||
else
|
||||
echo "no branch name"
|
||||
echo "no branch name detected"
|
||||
fi
|
||||
env:
|
||||
matrix:
|
||||
- secure: TYqjGkzuhnQq+15ATA12t5yIOEND1l6mlOs7XwZrAqGnwBK2nmj9n28+Ujh6V1F/TZBUhBkm7prxhQmtyzX8xNAh4J2WUrnNNSmYxGQCRgQWk5yorDp3mZtk5o3qD9qvP+T5aeXh7k1+/w8N96warln8pGEb/y8oUDVzs6yPOX7cKEHn4EUX7qDVh43tUIl8e6BslHQB+r/0gn84HeKi8vIOtDg0Sozw07kRziRgTuz9hTIU6QVd+Z+oSlB4+m+y5TNVc5sPn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rkhBs0pYSfCVg6YOIfzi4irVkNU6KYwZU=
|
||||
|
@ -1,11 +1,11 @@
|
||||
{
|
||||
{
|
||||
"name": "phpvms/phpvms",
|
||||
"version": "7.0.0-dev",
|
||||
"description": "phpVMS - Virtual Airline Administration",
|
||||
"keywords": ["phpvms", "virtual", "airlines"],
|
||||
"license": "MIT",
|
||||
"type": "project",
|
||||
"prefer-stable": true,
|
||||
"minimum-stability": "stable",
|
||||
"url": "https://github.com/nabeelio/phpvms.git",
|
||||
"require": {
|
||||
"php": ">=7.0",
|
||||
@ -33,6 +33,7 @@
|
||||
"symfony/dom-crawler": "v3.4.0",
|
||||
"league/geotools": "0.7.0",
|
||||
"toin0u/geotools-laravel": "^1.0",
|
||||
"anlutro/l4-settings": "0.6.0",
|
||||
"webpatser/laravel-uuid": "3.0.1",
|
||||
"chrisbjr/api-guard": "4.1.0",
|
||||
"spatie/laravel-fractal": "5.3.0",
|
||||
@ -44,13 +45,8 @@
|
||||
"scriptfusion/phpunit-immediate-exception-printer": "1.3.0",
|
||||
"nwidart/laravel-modules": "2.6.0",
|
||||
"sebastiaanluca/laravel-helpers": "1.0.2",
|
||||
"tivie/php-os-detector": "1.1.0",
|
||||
"jackiedo/timezonelist": "^5.0",
|
||||
"nesbot/carbon": "1.22.*",
|
||||
"pragmarx/version": "0.2.1",
|
||||
"tremby/laravel-git-version": "^1.1",
|
||||
"nabeel/laravel-installer": "dev-master",
|
||||
"nabeel/vacentral": "dev-master"
|
||||
"tivie/php-os-detector": "1.1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "6.4.0",
|
||||
@ -63,9 +59,6 @@
|
||||
"bpocallaghan/generators": "5.0.1"
|
||||
},
|
||||
"autoload": {
|
||||
"files": [
|
||||
"app/helpers.php"
|
||||
],
|
||||
"classmap": [
|
||||
"database"
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user