Skip to content

Commit

Permalink
fix(ci): Ensure Rafkefile can run in rubygems deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey authored and Chris Mackey committed May 26, 2020
1 parent 8339d11 commit 4e8062e
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,24 @@ language: ruby
rvm:
- 2.2

before_install:
# install openstudio
- wget http://security.ubuntu.com/ubuntu/pool/universe/w/wxwidgets3.0/libwxbase3.0-0_3.0.0-2_amd64.deb
- sudo apt install ./libwxbase3.0-0_3.0.0-2_amd64.deb
- wget http://security.ubuntu.com/ubuntu/pool/universe/w/wxwidgets3.0/libwxgtk3.0-0_3.0.0-2_amd64.deb
- sudo apt install ./libwxgtk3.0-0_3.0.0-2_amd64.deb
- wget https://github.com/NREL/OpenStudio/releases/download/v2.9.1/OpenStudio-2.9.1.3472e8b799-Linux.deb
- sudo dpkg -i ./OpenStudio-2.9.1.3472e8b799-Linux.deb
# install the openstudio extension gem
- export RUBYLIB=/usr/local/openstudio-2.9.1/Ruby
- gem install openstudio-extension -v 0.1.6

install:
- bundle install

jobs:
include:
- stage: test
before_install:
# install openstudio
- wget http://security.ubuntu.com/ubuntu/pool/universe/w/wxwidgets3.0/libwxbase3.0-0_3.0.0-2_amd64.deb
- sudo apt install ./libwxbase3.0-0_3.0.0-2_amd64.deb
- wget http://security.ubuntu.com/ubuntu/pool/universe/w/wxwidgets3.0/libwxgtk3.0-0_3.0.0-2_amd64.deb
- sudo apt install ./libwxgtk3.0-0_3.0.0-2_amd64.deb
- wget https://github.com/NREL/OpenStudio/releases/download/v2.9.1/OpenStudio-2.9.1.3472e8b799-Linux.deb
- sudo dpkg -i ./OpenStudio-2.9.1.3472e8b799-Linux.deb
# install the openstudio extension gem
- export RUBYLIB=/usr/local/openstudio-2.9.1/Ruby
- gem install openstudio-extension -v 0.1.6
install:
- bundle install
script:
- rake
- stage: deploy
Expand Down

0 comments on commit 4e8062e

Please sign in to comment.