Sha256: cc2a6f9c3a0da153117e95babfa613772b272f64b9df15bf6bd842ed7c9022c5

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 KB

Contents

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
    script:
    - rake
  - stage: deploy
    if: branch = master AND (NOT type IN (pull_request))
    before_install:
    - nvm install lts/* --latest-npm
    install:
    - npm install @semantic-release/exec
    script:
    - git config --global user.email "releases@ladybug.tools"
    - git config --global user.name "ladybugbot"
    - npx semantic-release
  - stage: deploy
    if: tag IS present
    script:
      - export CLEAN_TAG=$(echo $TRAVIS_TAG | sed 's/v//g')
      - sed -i 's/"0.0.0"/'"'$CLEAN_TAG'"'/g' honeybee-openstudio.gemspec
    deploy:
      on:
        tags: true
      provider: rubygems
      skip_cleanup: true
      api_key: $API_KEY
      gem: honeybee-openstudio

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
honeybee-openstudio-1.8.3 .travis.yml