forked from assemblymade/meta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (42 loc) · 1.36 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
language: ruby
rvm:
- 2.2.0
addons:
postgresql: '9.3'
code_climate:
repo_token:
secure: BjbonvyKvacSXbRKWh1UdXDSS+n+yILx+tkQhpzeVxt3DPuRHxBFwVRJDZX8Kk1STANAd6wy9nrI22Hh+waciNglVryfRwHpP/+uzx2yZcjYkvQnlNn5mBXVa+/XVLlDSC4Wcd63q9aN9YD86fJ6HiX2qi0B2i0jNxjT0S2LBG8=
install:
- npm install
- npm run bundle
- bundle install --without development --deployment
before_script:
- psql -c 'create database asm_test;' -U postgres
- cp config/database.yml.travis config/database.yml
- bin/rake db:schema:load
cache:
directories:
- vendor/bundle
- node_modules
services:
- redis-server
- elasticsearch
sudo: false
deploy:
provider: heroku
strategy: git
app: "asm-production"
run:
- rake db:migrate
- restart
- rake cleanup
api_key:
secure: Um9lRlmOGoL+Uwzpg3ZVUMIwgyOsWozJDVUpbofA8LWOWm1AloVpBxKzMjq3bTGh2BhyTO/ZflEENJ5zcPDW7ssuja2HyUo6D81vFk7TYME83PqhVZDOVulTYxJ5BR3yaqC2zGBc8UNajJmFc45V5v2QrhDCPZAwduLdbk1q4vg=
notifications:
slack:
secure: LwA/h6BTdQToj8xjvcdEXMHgM9XYOFhFsXkHCOfvsmowV0NNSAKK+CumSnmcnOlAP7E42MEd6aMEi3Rf+xHuYv6IbnFzUwiyh8856jtMUoWPeH2C8Aiin9/7Oe2JFHYWS0DNq2Pe4f/9Xri0luJWnCZsBZburRAbLDCM4mSc3vc=
on_success: never
on_failure: always
env:
global:
secure: e5U3AYlkOhCiDJxHnR+tAkARa+EL3mcKYQujnerIkXxcCHz2D2cRgYutGYb6sfZxZaspZsk62EyxGTeEcCJP5D5ANaOkpQ4qdSjznHRJdjiEcM2+XBUsRXgTQeeXbtpG5uW+gX9DlFf0e1149RHXErdR0WiUdrHpRKnAU8LOV48=