File tree Expand file tree Collapse file tree 7 files changed +363
-335
lines changed Expand file tree Collapse file tree 7 files changed +363
-335
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
- - repo : git ://github.com/detailyang /pre-commit-shell
3
- rev : 1.0.4
2
+ - repo : https ://github.com/pre-commit /pre-commit-hooks
3
+ rev : v2.3.0
4
4
hooks :
5
- - id : shell-lint
5
+ - id : check-yaml
6
+ - id : end-of-file-fixer
7
+ - id : trailing-whitespace
Original file line number Diff line number Diff line change 1
1
language : ruby
2
2
dist : trusty
3
3
sudo : required
4
+
4
5
rvm :
5
6
- 2.4.4
6
7
before_script :
7
8
- gem install bundler -v 1.16.2
8
9
- bundle exec hatchet ci:setup
10
+
11
+ script :
12
+ - docker build --pull --tag heroku-python-build-heroku-16 --file $(pwd)/Dockerfile .
13
+ - docker run --rm -e "STACK=heroku-16" heroku-python-build-heroku-16 bash $TESTFOLDER
14
+ - docker build --pull --tag heroku-python-build-heroku-18 --file $(pwd)/Dockerfile.heroku-18 .
15
+ - docker run --rm -e "STACK=heroku-18" heroku-python-build-heroku-18 bash $TESTFOLDER
16
+
9
17
jobs :
10
18
include :
11
19
- stage : Bash linting (shellcheck)
12
20
sudo : false
13
21
script : make check
14
- - stage : Stack Unit Tests
15
- services : docker
16
- env : STACK=heroku-18
17
- script : " ./tests.sh"
18
- - stage : Stack Unit Tests
19
- services : docker
20
- env : STACK=heroku-16
21
- script : " ./tests.sh"
22
22
- stage : Hatchet Integration
23
+ if : branch = master
24
+ name : Run Hatchet
23
25
script : " bundle exec rspec"
24
26
env :
27
+ matrix :
28
+ - TESTFOLDER=test/run-deps
29
+ - TESTFOLDER=test/run-versions
30
+ - TESTFOLDER=test/run-features
25
31
global :
26
- - HATCHET_RETRIES=3
27
- - IS_RUNNING_ON_CI=true
28
- - HATCHET_APP_LIMIT=5
29
- - HATCHET_DEPLOY_STRATEGY=git
30
- - secure : yjtlPE5FbVxTKnjUy/tZUBgSEf4qADD3QOxtgziuid73S0U/1IEXlMGFULsQzIjtlHKmHeywZqpVVEpthIH4RuT7uoX1Pb7SSM/g0T8fT3VoEFbFK1uYl0oZQbUS4Klxv9tPiumj8if3m6ULEGIz1X0wZcMOC0tMLwVCnwmap0E=
31
- - secure : ZeFTHWwnpIKE9nAqs88ocmiQh7bKce84lilGm5J23nf3N6V4wNyLwqlkvsM008WGBCaOg9AUx7ZunasT0ANsR5gLP3eV2UUg7ILdRgV2Gy13eNRFheC4PHdN92RqQ3aKoqlIv2K999xlhVjod0NzhkQQXB6PddfQINbuU7ks6As=
32
+ - HATCHET_RETRIES=3
33
+ - IS_RUNNING_ON_CI=true
34
+ - HATCHET_APP_LIMIT=5
35
+ - HATCHET_DEPLOY_STRATEGY=git
36
+ - secure : yjtlPE5FbVxTKnjUy/tZUBgSEf4qADD3QOxtgziuid73S0U/1IEXlMGFULsQzIjtlHKmHeywZqpVVEpthIH4RuT7uoX1Pb7SSM/g0T8fT3VoEFbFK1uYl0oZQbUS4Klxv9tPiumj8if3m6ULEGIz1X0wZcMOC0tMLwVCnwmap0E=
37
+ - secure : ZeFTHWwnpIKE9nAqs88ocmiQh7bKce84lilGm5J23nf3N6V4wNyLwqlkvsM008WGBCaOg9AUx7ZunasT0ANsR5gLP3eV2UUg7ILdRgV2Gy13eNRFheC4PHdN92RqQ3aKoqlIv2K999xlhVjod0NzhkQQXB6PddfQINbuU7ks6As=
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments