Create .travis.yml

This commit is contained in:
Ivan Diaz 2017-04-06 20:30:08 -03:00 committed by GitHub
parent 826d2f1eed
commit a23f2a2641
1 changed files with 20 additions and 0 deletions

20
.travis.yml Normal file
View File

@ -0,0 +1,20 @@
before_install:
- nvm install 4.4.7
- npm install -g npm@2.15.8
- npm install -g mocha
- cd client
- npm install
- ulimit -u 10240
- cd ../server
- phpenv local 5.6
- composer install
- cd ../tests
- bundle install
- gem install bacon
- cd ../server
- nohup bash -c "php -S localhost:8080 2>&1 &" && sleep 1; cat nohup.out
- cd ..
script:
- cd client
- npm test