.travis.yml 1.23 KB
Newer Older
Casey Faist's avatar
Casey Faist committed
1
language: ruby
2
dist: trusty
Casey Faist's avatar
Casey Faist committed
3 4 5 6 7 8 9 10 11 12 13
rvm:
- 2.4.4
before_script:
  - gem install bundler -v 1.16.2
  - bundle exec rake hatchet:setup_travis
addons:
  apt:
    sources:
    - heroku
    packages:
    - heroku-toolbelt
Kenneth Reitz's avatar
Kenneth Reitz committed
14 15
jobs:
  include:
Casey Faist's avatar
Casey Faist committed
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
  - stage: Bash linting (shellcheck)
    sudo: false
    before_install:
    - wget -c https://goo.gl/ZzKHFv -O - | tar -xvJ -C /tmp/
    - PATH="/tmp/shellcheck-latest:$PATH"
    script: make check
  - stage: Stack Tests
    services: docker
    env: STACK=heroku-18
    script: "./tests.sh"
  - stage: Stack Tests
    services: docker
    env: STACK=heroku-16
    script: "./tests.sh"
  - stage: Stack Tests
    services: docker
    env: STACK=cedar-14
    script: "./tests.sh"
  - stage: Stack Tests
    services: docker
    env: STACK=heroku-16
    script: "rspec"
env:
  global:
    - HATCHET_RETRIES=3
    - IS_RUNNING_ON_CI=true
    - HATCHET_APP_LIMIT=5
  - secure: yjtlPE5FbVxTKnjUy/tZUBgSEf4qADD3QOxtgziuid73S0U/1IEXlMGFULsQzIjtlHKmHeywZqpVVEpthIH4RuT7uoX1Pb7SSM/g0T8fT3VoEFbFK1uYl0oZQbUS4Klxv9tPiumj8if3m6ULEGIz1X0wZcMOC0tMLwVCnwmap0E=
  - secure: ZeFTHWwnpIKE9nAqs88ocmiQh7bKce84lilGm5J23nf3N6V4wNyLwqlkvsM008WGBCaOg9AUx7ZunasT0ANsR5gLP3eV2UUg7ILdRgV2Gy13eNRFheC4PHdN92RqQ3aKoqlIv2K999xlhVjod0NzhkQQXB6PddfQINbuU7ks6As=