From a23f2a264111780617e1ad32c9139a9b033c50f8 Mon Sep 17 00:00:00 2001 From: Ivan Diaz Date: Thu, 6 Apr 2017 20:30:08 -0300 Subject: [PATCH] Create .travis.yml --- .travis.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..752d9d14 --- /dev/null +++ b/.travis.yml @@ -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