Skip to content

Commit 3d65278

Browse files
committed
add multiple script steps to trigger matrix across docker files
1 parent 59544ee commit 3d65278

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ before_script:
88
- gem install bundler -v 1.16.2
99
- bundle exec hatchet ci:setup
1010

11-
script: docker build --pull --file $(pwd)/${DOCKERFILE} .; docker run --rm -e "STACK=heroku-18" bash $TESTFOLDER
11+
script:
12+
- docker build --pull --file $(pwd)/Dockerfile .; docker run --rm -e "STACK=heroku-18" bash $TESTFOLDER
13+
- docker build --pull --file $(pwd)/Dockerfile.heroku-18 .; docker run --rm -e "STACK=heroku-18" bash $TESTFOLDER
1214

1315
jobs:
1416
include:
@@ -26,10 +28,13 @@ env:
2628
- TESTFOLDER=test/run-features
2729
- DOCKERFILE=Dockerfile.heroku-18
2830
- DOCKERFILE=Dockerfile
31+
- CI_NODE_INDEX=0
32+
- CI_NODE_INDEX=2
2933
global:
3034
- HATCHET_RETRIES=3
3135
- IS_RUNNING_ON_CI=true
3236
- HATCHET_APP_LIMIT=5
3337
- HATCHET_DEPLOY_STRATEGY=git
38+
- CI_NODE_TOTAL=2
3439
- secure: yjtlPE5FbVxTKnjUy/tZUBgSEf4qADD3QOxtgziuid73S0U/1IEXlMGFULsQzIjtlHKmHeywZqpVVEpthIH4RuT7uoX1Pb7SSM/g0T8fT3VoEFbFK1uYl0oZQbUS4Klxv9tPiumj8if3m6ULEGIz1X0wZcMOC0tMLwVCnwmap0E=
3540
- secure: ZeFTHWwnpIKE9nAqs88ocmiQh7bKce84lilGm5J23nf3N6V4wNyLwqlkvsM008WGBCaOg9AUx7ZunasT0ANsR5gLP3eV2UUg7ILdRgV2Gy13eNRFheC4PHdN92RqQ3aKoqlIv2K999xlhVjod0NzhkQQXB6PddfQINbuU7ks6As=

0 commit comments

Comments
 (0)