Permalink
Browse files

Use travis

  • Loading branch information...
1 parent 4456aa8 commit 0ef7e05d00d4dc5ca2f9c34042112895f2b78423 @dz0ny dz0ny committed Jan 7, 2017
Showing with 14 additions and 20 deletions.
  1. +10 −0 .travis.yml
  2. +3 −0 .travis/deploy.sh
  3. +1 −4 Readme.md
  4. +0 −16 wercker.yml
View
@@ -0,0 +1,10 @@
+language: node_js
+node_js:
+ - "6"
+dist: trusty
+sudo: false
+deploy:
+ provider: script
+ script: .travis/deploy.sh
+ on:
+ branch: master
View
@@ -0,0 +1,3 @@
+
+git remote add dokku dokku@$APP_HOSTNAME:$APP
+git push --force dokku HEAD:master
View
@@ -1,6 +1,6 @@
#ubuntu-si irc bot
-[![wercker status](https://app.wercker.com/status/26729d8187253b8d033b8545837c49bf/m "wercker status")](https://app.wercker.com/project/bykey/26729d8187253b8d033b8545837c49bf)
+[![Build Status](https://travis-ci.org/ubuntu-si/ircbot.svg?branch=master)](https://travis-ci.org/ubuntu-si/ircbot)
Potrebuješ:
@@ -12,9 +12,6 @@ Preden začneš:
- ```npm install```
-Na Ubuntu 14.04 moraš namestit še
- - ```sudo apt-get install nodejs-legacy```
-
Zaženeš:
- ```npm start```
View
@@ -1,16 +0,0 @@
-box: node
-build:
- steps:
- - npm-install
- - npm-test
-deploy:
- steps:
- - add-to-known_hosts:
- hostname: $HOSTNAME
- - add-ssh-key:
- keyname: SSH
- - script:
- name: Push to dokku
- code: |
- git remote add dokku dokku@$HOSTNAME:$APP
- git push --force dokku HEAD:master

0 comments on commit 0ef7e05

Please sign in to comment.