-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 2.08 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
sudo: false
dist: xenial
language: ruby
services:
- docker
rvm:
- 2.5.8
addons:
postgresql: '9.6'
cache:
- bundler
before_install:
- gem update --system --quiet
- gem install bundler -v "~>2.1.4" --no-document
install:
- bundle install --jobs 16
branches:
only:
- master
before_script:
- RAILS_ENV=test bundle exec rake db:create
- bundle exec rspec
script:
- docker --version
- echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin
- docker build --build-arg RAILS_MASTER_KEY=$RAILS_MASTER_KEY -t kaygeee/inquiries-maker:latest .
- docker push kaygeee/inquiries-maker:latest
after_success:
- echo "Ready! ✅"
after_failure:
- echo "Can not deploy! ❌"
after_script:
- echo "All done! 💚"
env:
global:
- secure: V0Ad6+BwFi945Z3+obIp72cTh8oYozR/oEr8IUJU7VRaK90pbQ+WDK5sqnUQ/IpC5rVD3XNascXf1STmD3D+wPuv4RYTTwmL2QFak8avWkEg898RgPYKpQjUWdKwJ5tAouxq3NIRzNnhCsSiRhiI5I7vD7lbmeW3rohNxz9zJCGlmzviQQP8OhiF8SyBQlq3fLzws7QFCyurie36M6+PZh9okk2AXjl+jDWqXNNS81mDCM2JOVPwzb5OEOEf8FY7S2rl43+izvV3bmA2p1Ug0rwU9sjJkNwtBAKnVV49M8fVlu3yIJY2TweYwXtsk/lGVFtLZmIY5A0Sd4RDgyfSyNnihTVFIxt+Dy7EXnDSUZOQ80mYkcCfqj/WNFdycWWPB5tA8kv9IPVt1SRpAXPqhGDUYvKHBqXS8Y44bt/BybLtFNHT/jpxC3dkJ5G9Ho2WgiTZniaSx2jVM2/J4H4OMM7CkBLwa0GEkTmvZZBM/OnXdGw1hJwwel/6ylIBaTwXlKhnaE/zK1BgzVbDoEzRCxkrNV+96Rhfw8uPO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