Skip to content

Commit

Permalink
use bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Oct 27, 2014
1 parent b98a647 commit 9d5ab4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
language: cpp
language: ruby
before_install:
- curl http://download.opensuse.org/repositories/YaST:/Head:/Travis/xUbuntu_12.04/Release.key | sudo apt-key add -
- echo "deb http://download.opensuse.org/repositories/YaST:/Head:/Travis/xUbuntu_12.04/ ./" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update -q
- sudo apt-get install --no-install-recommends -y yast2 yast2-slp yast2-add-on rake
- sudo apt-get install --no-install-recommends -y yast2 yast2-slp yast2-add-on
# disable rvm, use system Ruby
- rvm reset
- sudo gem install yast-rake yard rspec:2.14.1 simplecov coveralls
# checkout the released SLES12 tag (TODO: ask for creating a branch)
- git clone --branch v0.2.14 --depth=1 git://github.com/SUSE/connect.git
- (cd connect && gem build suse-connect.gemspec && sudo gem install suse-connect-*.gem)
- sudo gem install bundler
script:
- yardoc
- rake -f Rakefile.travis
- bundle exec rake -f Rakefile.travis
- sudo rake install
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source "https://rubygems.org"

#gem "suse-connect", :github => "SUSE/connect"
gem "suse-connect", :github => "SUSE/connect", :branch => "v0.2.14"

group :test do
gem "rake"
Expand Down

0 comments on commit 9d5ab4c

Please sign in to comment.