.travis.yml 1.16 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
rvm:
- 2.4.4
before_script:
Casey Faist's avatar
Casey Faist committed
6
  - bash etc/ci-setup.sh
Casey Faist's avatar
Casey Faist committed
7 8
  - gem install bundler -v 1.16.2
  - bundle exec rake hatchet:setup_travis
Kenneth Reitz's avatar
Kenneth Reitz committed
9 10
jobs:
  include:
Casey Faist's avatar
Casey Faist committed
11 12 13 14 15 16
  - 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
Casey Faist's avatar
Casey Faist committed
17
  - stage: Stack Unit Tests
Casey Faist's avatar
Casey Faist committed
18 19 20
    services: docker
    env: STACK=heroku-18
    script: "./tests.sh"
Casey Faist's avatar
Casey Faist committed
21
  - stage: Stack Unit Tests
Casey Faist's avatar
Casey Faist committed
22 23 24
    services: docker
    env: STACK=heroku-16
    script: "./tests.sh"
Casey Faist's avatar
Casey Faist committed
25
  - stage: Stack Unit Tests
Casey Faist's avatar
Casey Faist committed
26 27 28
    services: docker
    env: STACK=cedar-14
    script: "./tests.sh"
Casey Faist's avatar
Casey Faist committed
29
  - stage: Hatchet Integration
Casey Faist's avatar
Casey Faist committed
30
    script: "bundle exec rspec"
Casey Faist's avatar
Casey Faist committed
31 32
env:
  global:
Casey Faist's avatar
Casey Faist committed
33 34 35
  - HATCHET_RETRIES=3
  - IS_RUNNING_ON_CI=true
  - HATCHET_APP_LIMIT=5
Casey Faist's avatar
Casey Faist committed
36 37
  - secure: yjtlPE5FbVxTKnjUy/tZUBgSEf4qADD3QOxtgziuid73S0U/1IEXlMGFULsQzIjtlHKmHeywZqpVVEpthIH4RuT7uoX1Pb7SSM/g0T8fT3VoEFbFK1uYl0oZQbUS4Klxv9tPiumj8if3m6ULEGIz1X0wZcMOC0tMLwVCnwmap0E=
  - secure: ZeFTHWwnpIKE9nAqs88ocmiQh7bKce84lilGm5J23nf3N6V4wNyLwqlkvsM008WGBCaOg9AUx7ZunasT0ANsR5gLP3eV2UUg7ILdRgV2Gy13eNRFheC4PHdN92RqQ3aKoqlIv2K999xlhVjod0NzhkQQXB6PddfQINbuU7ks6As=