forked from scatterp/peatio_princeberk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
25 lines (25 loc) · 805 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
25
language: ruby
rvm:
- 2.2.2
before_script:
- "mysql -e 'create database peatio_test;'"
- "cp ./.travis.database.yml ./config/database.yml"
- "cp ./.travis.application.yml ./config/application.yml"
- "cp ./.travis.currencies.yml ./config/currencies.yml"
- "cp ./.travis.markets.yml ./config/markets.yml"
- "cp ./config/amqp.yml.example ./config/amqp.yml"
- "mkdir -p ./tmp/cache"
install:
- bundle install --without development --path vendor/bundle
script:
- bundle exec rake db:setup
- bundle exec rake assets:precompile
- bundle exec rake daemons:start
- bundle exec rake daemons:status
after_failure:
- "mysql -e 'show databases;'"
- "cat ./config/database.yml"
- "echo $RAILS_ENV"
- "bundle exec rake --version"
notifications:
slack: peatio:F2FWrCANEK3QcjHC16OO541l