Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (29 sloc) 770 Bytes
sudo: false
dist: trusty
language: node_js
node_js:
- '9'
services:
- mongodb
env:
- CXX=g++-4.8
addons:
chrome: stable
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- export CHROME_BIN=google-chrome-stable
- openssl aes-256-cbc -K $encrypted_9a81afebf84f_key -iv $encrypted_9a81afebf84f_iv -in .travis/deploy.key.enc -out .travis/deploy.key -d
- eval "$(ssh-agent -s)" #start the ssh agent
- chmod 600 .travis/deploy.key # this key should have push access
- ssh-add .travis/deploy.key
- ssh-keyscan dokku.abarbanell.de >> ~/.ssh/known_hosts
- git remote add deploy dokku@dokku.abarbanell.de:lg
- git config --global push.default simple
script:
- npm test
- npm run build
- git push deploy master