forked from shanear/grezha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (37 loc) · 1.18 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
language: ruby
rvm:
- 2.1.2
sudo: false
cache: bundler
install:
- bundle install --jobs=3 --retry=3
- npm install -g ember-cli@0.1.2
- npm install -g bower@1.3.12
- npm install -g phantomjs@1.9.12
- cd ember && npm install && bower install && cd ..
before_script:
- cp config/database.yml.travis config/database.yml
- psql -c 'create database grezha_travis_ci_test;' -U postgres
script:
- rake
- cd ember && ember test && cd ..
before_deploy:
- cd ember && ember build --outputPath=dist --environment=staging && cd ..
deploy:
- provider: divshot
environment: staging
api_key:
secure: GHbuarPyzMtmFpMdK8SJj8ECLjSCgi3mJJRdHYyp59ReKZnA05c7rizfKdsYjHLTxgx88HAqy0EGRfXBoJEUKMqlKXwJ6tNQkA1IIR8bqLvZuTYz1yErgqee4zknaLwQ/uQLqe5yUB+56H9aCtEuqOmqIm5KuwoDoFIUjzcRQCA=
skip_cleanup: true
- provider: heroku
api_key:
secure: BqVkLlG6mnKupVTU+jdz2dVRI9V+HF9mBlhUtRW2doz9STsBlXeTOaCHrOb/0l4K29myrvzP3Xz9wgHk1Ms7EGObLni+IKacZIu997HuOMZ606/iwnUJAULgkZhxEpt9gCVTAS+07JzLxhtV91kgiiuicNHhvSgKCFVWFjh2Bos=
app: grezha-demo
run: rake db:migrate
on:
repo: shanear/grezha
notifications:
email:
- inorris@thoughtworks.com
- pwen@thoughtworks.com
- shane1337@gmail.com