forked from Azure/azure-sdk-for-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (27 loc) · 782 Bytes
/
.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
sudo: false
language: ruby
rvm:
- 2.1.5
- 2.2.0
- 2.3.1
matrix:
include:
- rvm: 2.3.1
env: LATEST_RUNTIME=true
allow_failures:
- rvm: 2.3.1
env: LATEST_RUNTIME=true
before_install:
- gem install bundler -v 1.14.1
- if [ "$LATEST_RUNTIME" == "true" ] ; then ./scripts/latest_runtime.sh ; fi
script:
- if [ "$INTEG_RECORDED" == "true" ] ; then bundle install --gemfile=Gemfile && bundle exec rake arm:spec ; fi
- bundle exec rake arm:build
- unset BUNDLE_GEMFILE
- cd $TRAVIS_BUILD_DIR/runtime/ms_rest && bundle install --gemfile=Gemfile && bundle exec rspec
- cd $TRAVIS_BUILD_DIR/runtime/ms_rest_azure && bundle install --gemfile=Gemfile && bundle exec rspec
deploy:
provider: script
script: ./scripts/release.sh
on:
tags: true