Sha256: c9d6f606722b6c36b0019753790cb81d29ae42dc021fdd4cb9aae0aee6a96382

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 KB

Contents

language: ruby

rvm:
  - 2.1
  - 2.2
  - 2.3
  - 2.4
  - 2.5
  - jruby-9.0.5.0

notifications:
  email:
    on_success: never

sudo: false

env:
  global:
    # If changing this number, please also change it in `test/test_helper.rb`.
    - TELNYX_MOCK_VERSION=0.40.1

cache:
  directories:
    - telnyx-mock

before_install:
  # Install bundler 1.x, because we need to support Ruby 2.1 for now
  - gem install bundler -v "~> 1.0"
  # Unpack and start telnyx-mock so that the test suite can talk to it
  - |
    if [ ! -d "telnyx-mock/telnyx-mock_${TELNYX_MOCK_VERSION}" ]; then
      mkdir -p telnyx-mock/telnyx-mock_${TELNYX_MOCK_VERSION}/
      curl -L "https://github.com/telnyx/telnyx-mock/releases/download/v${TELNYX_MOCK_VERSION}/telnyx-mock_${TELNYX_MOCK_VERSION}_linux_amd64.tar.gz" -o "telnyx-mock/telnyx-mock_${TELNYX_MOCK_VERSION}_linux_amd64.tar.gz"
      tar -zxf "telnyx-mock/telnyx-mock_${TELNYX_MOCK_VERSION}_linux_amd64.tar.gz" -C "telnyx-mock/telnyx-mock_${TELNYX_MOCK_VERSION}/"
    fi
  - |
    telnyx-mock/telnyx-mock_${TELNYX_MOCK_VERSION}/telnyx-mock > /dev/null &
    TELNYX_MOCK_PID=$!
  - export PATH="${PATH}:${PWD}/telnyx-mock/telnyx-mock_${TELNYX_MOCK_VERSION}"

script:
  - bundle exec rake

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
telnyx-0.0.1 .travis.yml