forked from cheezenaan-sandbox/sample_app_rev4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (30 loc) · 1.45 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
sudo: false
dist: trusty
language: ruby
rvm:
- 2.4.3
# TODO: Use MySQL on Travis CI
before_install:
- sudo service mysql stop
install:
- docker-compose -f .travis/docker-compose.yml run --rm node yarn install
before_script:
- docker-compose -f .travis/docker-compose.yml run --rm node /bin/sh -c "yarn lint && yarn build"
- docker-compose -f .travis/docker-compose.yml build spring
- docker-compose -f .travis/docker-compose.yml run --rm spring bin/rails db:create db:migrate
script:
- docker-compose -f .travis/docker-compose.yml run --rm spring rspec --profile --format progress
branches:
only:
- master
notifications:
email: false
deploy:
provider: heroku
api_key:
secure: qqIWRJTRUZu3LqsbkZCyAD5jSB34CyC/GVPznqM1Qm2LxEMsDDdR1hypZ+o2nMYryaHmjSM8iQ9rsMjJNMmuR8p0HdFlgj3XPGwKQaGh4hBwhc4whRv8FLqU58Rpx3WSwxKFM6KM+XtNIeqlJ3pnSERoWHi+srg3cMTLrryoRj8nDRczMP+DRLww5HpPkFlYYa70s+378a7ooQB2rq+6R/Fg4CsqfxTe3x2SHx8u6BivRl65xj9ntl27xRMIxSmRpnV7cHkxTf+iKnoR++QkPGX0F2s6bs4u2ufzMhhD3d2Whu+rYlsJFW7g+4vvmarJ/Q43PWYm2gcTz4Mua37PUt9LjHWqyV9VEU6yj8XsVt5l1rzhm/WKd1C/Zh4caw+8/ibg18J7/LTx9e/AIqYzSs6ebhTHyZTGFx93iFFvbqBnKwVq5khMo1uWadlE+Xnf0mnlaqV9ZEyjxYzKeAdj1fae6BDxFL7Iavv0y1VpDsd3XG96pmN+4SjFAZVsZ6ZRLOrCEZnSlK/17LC9YZjVlPUDmt9Vqx9MUyy6M0o70X9nTvOEFIfook5b1ayGm7mf+BjFOe+HmnN1e/nM0Rge6IHfFPYRqJU10KhL0kny69QKH5EuI+klslA2S6s7STkkhYLj+I1nDeCLbMt438jlJ9w0ATMa+gCOFO6nMcM61Ys=
app:
master: sample-rev4
skip_cleanup: true
run:
- rake db:migrate