forked from kencochrane/heroku-buildpack-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
72 lines (64 loc) · 1.74 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
language: minimal
dist: focal
branches:
only:
- main
script:
- make test STACK="${STACK}" TEST_CMD="${TEST_CMD}"
jobs:
include:
- name: Linters (shellcheck and rubocop)
language: ruby
rvm:
- 2.7
script:
- make lint-scripts
- make lint-ruby
- name: Hatchet integration tests (Heroku-16)
if: env(HEROKU_API_USER) IS present AND env(HEROKU_API_KEY) IS present
language: ruby
rvm:
- 2.7
env:
- STACK=heroku-16
before_script:
- bundle exec hatchet ci:setup
script:
- bundle exec parallel_split_test spec/hatchet/
- name: Hatchet integration tests (Heroku-18)
if: env(HEROKU_API_USER) IS present AND env(HEROKU_API_KEY) IS present
language: ruby
rvm:
- 2.7
env:
- STACK=heroku-18
before_script:
- bundle exec hatchet ci:setup
script:
- bundle exec parallel_split_test spec/hatchet/
- name: Hatchet integration tests (Heroku-20)
if: env(HEROKU_API_USER) IS present AND env(HEROKU_API_KEY) IS present
language: ruby
rvm:
- 2.7
env:
- STACK=heroku-20
before_script:
- bundle exec hatchet ci:setup
script:
- bundle exec parallel_split_test spec/hatchet/
env:
jobs:
- STACK=heroku-16 TEST_CMD=test/run-deps
- STACK=heroku-16 TEST_CMD=test/run-versions
- STACK=heroku-16 TEST_CMD=test/run-features
- STACK=heroku-18 TEST_CMD=test/run-deps
- STACK=heroku-18 TEST_CMD=test/run-versions
- STACK=heroku-18 TEST_CMD=test/run-features
- STACK=heroku-20 TEST_CMD=test/run-deps
- STACK=heroku-20 TEST_CMD=test/run-versions
- STACK=heroku-20 TEST_CMD=test/run-features
global:
- HATCHET_APP_LIMIT=100
- HATCHET_RETRIES=3
- PARALLEL_SPLIT_TEST_PROCESSES=20