forked from werf/werf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (31 loc) · 1.56 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
dist: xenial
sudo: required
cache:
apt: true
directories: .vendor
language: ruby
rvm:
- 2.3
- 2.2
install:
- sudo -E su --preserve-environment -lc 'bundle install --path .vendor'
before_script:
- sudo apt-get update -qq
- sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common git
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update -qq
- sudo apt-get -o dpkg::options::="--force-confnew" install -y docker-ce
- USER_NAME=$(id -un) && sudo gpasswd -a $USER_NAME docker
- sudo service docker restart
- sudo docker version
script:
- sudo -E su --preserve-environment -lc 'bundle exec rake parallel_spec'
deploy:
provider: rubygems
api_key:
secure: Bs+7LiwEJFM1FYxGNlcVjWogXkHrqDtlZi44YY2kvKgi1VuJoRnfZW5GE5cOYElbmCYVUD4yjPHn0idiRmvGB5SV/te0mHwYtHGCrjvs1mVgEnAnLG/sgLvVDCNr08hzyFh3QVR80DivNwpGuJuSK56cuHGVZax8CAlexyaFuEzSxXd7cLft/mF29APK+gLpcNLBUNzyhbKGaBzGn1B6mnmqvO0Rby+Ghky5wHjKvZ/Dx81OhnxbzTdiacNr8inxuTpY6qa++b+LOCo+fSmhTAR/eI4XdOo+lVUQ+oFqg6H+54QTdv+qWKTQ+ARactsOr3ZLMMANWIxZn6s5irfmZdELOq5kbQSAe4Ocy/Kg9l5/NsvfL+sIj3blbTqGal8nVxekgkYEBvsuZ9FFkznhsoyKtdf3oI6itjOagkGb7NRGgA+Fb+NNKNWq9Is3Uj8YcCUjn80LZ1rcrah9kEX2z2BOa7aMYJMiyfW4in//HiwmzWhwEPJuw4bg/p7sGhffNXISkozJfvdASE/SBnB2OOvRvWPrczdBB5cWrM8E3PGROVm+LNXuzYeG5+HYo0ThAoEthSzUzeoNhkAYii991I3+6GDR41OLZIv4aGq0WYw5bxC45ThtDBMvpldcIluOoAkJ8oYmktxGLU4hNQQfdAKH+uYgyNImfWelgLH8XcQ=
gem: dapp
on:
tags: true
repo: flant/dapp