fix(ci): stable instead of release/* branches

This commit is contained in:
Ben Gotow 2015-12-11 17:13:42 -08:00
parent 0f67438c9f
commit 8ea8df8efc
3 changed files with 4 additions and 2 deletions

View file

@ -20,6 +20,7 @@ branches:
only: only:
- master - master
- ci-test - ci-test
- stable
matrix: matrix:
include: include:

View file

@ -10,6 +10,7 @@ branches:
only: only:
- master - master
- ci-test - ci-test
- stable
test: off test: off

View file

@ -94,7 +94,7 @@ module.exports = (grunt) ->
return false return false
branch = process.env.APPVEYOR_REPO_BRANCH branch = process.env.APPVEYOR_REPO_BRANCH
if branch is "master" or branch is "ci-test" or branch[0..7] is "release/" if branch is "master" or branch is "ci-test" or branch is "stable"
return true return true
else else
grunt.log.writeln("Skipping. We don't operate on branch '#{branch}''") grunt.log.writeln("Skipping. We don't operate on branch '#{branch}''")
@ -106,7 +106,7 @@ module.exports = (grunt) ->
return false return false
branch = process.env.TRAVIS_BRANCH branch = process.env.TRAVIS_BRANCH
if branch is "master" or branch is "ci-test" or branch[0..7] is "release/" if branch is "master" or branch is "ci-test" or branch is "stable"
return true return true
else else
grunt.log.writeln("Skipping. We don't operate on branch '#{branch}''") grunt.log.writeln("Skipping. We don't operate on branch '#{branch}''")