Added Integration testing (#13)

* Added cypress testing

* Added recording

* cleaned npm scrips
This commit is contained in:
Jonathan
2018-03-13 08:13:49 +01:00
committed by Bálint Szekeres
parent 6ff1b0eb71
commit b72673ffe7
10 changed files with 3627 additions and 0 deletions

View File

@@ -14,3 +14,15 @@ deploy:
branch: master
provider: script
script: ssh -q -l root nginxconfig.io "sudo -u www-data -H sh -c 'cd /var/www/nginxconfig.io; git reset --hard && git pull origin master && find . -type f -name '*.html' -exec sed -i -e \"s/COMMIT_HASH/$TRAVIS_COMMIT/\" {} \;'"
node_js:
- 6
cache:
directories:
- ~/.npm
- node_modules
install:
- npm install
script:
- npm run test