Skip to content

Commit

Permalink
.travis.yml: Restructure env keys
Browse files Browse the repository at this point in the history
The YAML had two env: keys.

Related to coala#131
  • Loading branch information
jayvdb committed Jun 10, 2018
1 parent 2929576 commit 1b918f9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .coafile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ bears = JSHintBear
allow_unused_variables = True
javascript_strictness = False

[all.yml]
bears = YAMLLintBear
files = **.yml, **.yaml
ignore += public/**, _site/**

[bash]
files = **.sh
bears = ShellCheckBear
Expand Down
19 changes: 9 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@ cache:

env:
global:
- ENCRYPTION_LABEL: "defac9b1fa56"
- COMMIT_AUTHOR_EMAIL: "[email protected]"

env:
# This more closely emulates a forked build
# However the git remote is not correct
# Only a GH_TOKEN is required.
- GL_TOKEN="" GCI_TOKEN="" OH_TOKEN=""
# A proper build with the tokens available
- AUTH=true
- ENCRYPTION_LABEL: "defac9b1fa56"
- COMMIT_AUTHOR_EMAIL: "[email protected]"
matrix:
# This more closely emulates a forked build
# However the git remote is not correct
# Only a GH_TOKEN is required.
- GL_TOKEN="" GCI_TOKEN="" OH_TOKEN=""
# A proper build with the tokens available
- AUTH=true

before_install:
- sed -i '1s/^/coala-bears\n/' requirements.txt
Expand Down

0 comments on commit 1b918f9

Please sign in to comment.