forked from hpyhacking/peatio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (24 loc) · 803 Bytes
/
.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
language: ruby
rvm:
- 2.1.0
before_install:
- sudo apt-get update
- sudo apt-get install -y libfontconfig libfontconfig-dev libfreetype6-dev
- sudo apt-get install -y qrencode libqrencode-dev
before_script:
- "mysql -e 'create database peatio_test;'"
- "cp ./.travis.database.yml ./config/database.yml"
- "cp ./.travis.application.yml ./config/application.yml"
- "cp ./.travis.currency.yml ./config/currency.yml"
- "mkdir -p ./tmp/cache"
script:
- bundle exec rake db:schema:load
- bundle exec rake db:test:prepare
- bundle exec rake spec
after_failure:
- "mysql -e 'show databases;'"
- "cat ./config/database.yml"
- "echo $RAILS_ENV"
- "bundle exec rake --version"
notifications:
webhooks: https://peatio.slack.com/services/hooks/travis?token=Rah5xOTiG33TryAfoV0peOKz