-
Notifications
You must be signed in to change notification settings - Fork 34
/
.travis.yml
30 lines (29 loc) · 1.57 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
language: ruby
sudo: false
cache: bundler
rvm:
- 2.4.1
services:
- postgresql
- redis-server
env:
- TRAVIS_NODE_VERSION="6.9.1"
before_install:
- mkdir travis-phantomjs
- wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs
- export PATH=$PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- npm install
before_script:
- cp .env.test.sample .env.test
- bundle exec hanami db prepare
after_script:
- bundle exec danger
deploy:
provider: heroku
app: ossboard
on: master
run: "hanami db migrate"
api_key:
secure: o602gpYd3pJWDSdAaCR46yETCGt2dA9xVDRxl1tNZwhK2Ow0rNbNXQqljXK+5LjLKYIxRohcV01L2KSMoUr7UXDJYqR+9il+jTZazMPzoX2Ftt/DycHPG8KTfts9lUFEXX4UersotovhPtahwMdFTyhC0XQPUrTy4F5HbE19KjmqnDtIQD2upPVMOOOADc1gAD7GdtLE8i+fleeuQ1B7CG0sFyW3FIsB0HbsnT4V0Z44Q/ryJCC7l4kDMi4zQW5B1klbiJw1xe3aXJ0I0iy4nsovEya8YijtS/Zj7wvKs/0RnEgM5wPHcLRAW1xha/vtMWuWezW5M8T4XkPvZoUJarsOS21Ivz1V5QHKrdB7paijlgcqQ2FtseSyhOJGfWMvLpV/HQ8oiHLFizHFRJGEd2h1EWxBGSjECkhldn/ArS7vGt+YBVQtFqI96gZlc/ZUTecPCuj5SvGPgyMtyNn+s88tz1umaX/Uk/D/RAR8SNJeQLz2DRjBTLplAVtE0dSFmJ0+VCI1OFAigYA/PLCGBSTtTghyEy32gaGVh75gbx+kcPzX1wpGJ/7UKynoJlINnUDV0zjD2hUfXEpaOMIBK7FLVjI6DiW3C9CdFr4JGFJ6qNhSN60nmuyvkHpmW27dkmy+Wo1jmccq0El0nD60E2PSpCpzIo4C4KxSf0WlKXY=