mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-10 07:11:52 +08:00
Added Integration testing (#13)
* Added cypress testing * Added recording * cleaned npm scrips
This commit is contained in:
committed by
Bálint Szekeres
parent
6ff1b0eb71
commit
b72673ffe7
12
.travis.yml
12
.travis.yml
@@ -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
|
||||
|
Reference in New Issue
Block a user