Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,21 @@ jobs:
- TEST: Shell Check
script: shellcheck *.sh

- stage: Test
env:
- TEST: .travis.yml and travis.yml.template consistency
language: generic
script:
- ./update.sh
- git diff --stat --exit-code .travis.yml

- stage: Deploy
script: ./generate-stackbrew-pr.sh
env:
secure: "HkgYgawkr/hkg2vURHGOb/JmF6U1e71QQsd0HXJ1UJh6WBiFJOrjomCMHZGHnpyopdRna++up8dISBqM2X+EiLAr9yWdRXy72oMP9X42M0ccnja/3E5KYYXMkETS50JnUhMCOt2xRZW5/ojqrHukqRo0YIjIu+P0U0VsZ4QIsng="

# Docker Build #

- stage: Build
env:
- NODE_VERSION: "10"
Expand Down
8 changes: 8 additions & 0 deletions travis.yml.template
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ jobs:
- TEST: Shell Check
script: shellcheck *.sh

- stage: Test
env:
- TEST: .travis.yml and travis.yml.template consistency
language: generic
script:
- ./update.sh
- git diff --stat --exit-code .travis.yml

- stage: Deploy
script: ./generate-stackbrew-pr.sh
env:
Expand Down
6 changes: 3 additions & 3 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ function add_stage() {
local variant=$1
shift

echo ' - stage: Build
echo '
- stage: Build
env:
- NODE_VERSION: "'"$version"'"
- VARIANT: "'"$variant"'"
' >>.travis.yml
- VARIANT: "'"$variant"'"' >>.travis.yml
}

echo '#### DO NOT MODIFY. THIS FILE IS AUTOGENERATED ####
Expand Down