-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from BrightspaceUI/revert-74-master
Revert "Add automatic CI versioning"
- Loading branch information
Showing
3 changed files
with
19 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,18 @@ | ||
language: node_js | ||
node_js: node | ||
addons: | ||
chrome: stable | ||
script: | ||
- npm run lint | ||
- | | ||
if [ $TRAVIS_PULL_REQUEST != false ] && [ $TRAVIS_SECURE_ENV_VARS == true ]; then | ||
echo "Pull request with secure environment variables, running Sauce tests..."; | ||
npm run test:polymer:sauce || travis_terminate 1; | ||
else | ||
echo "Not a pull request and/or no secure environment variables, running headless tests..."; | ||
npm run test:polymer:local || travis_terminate 1; | ||
fi | ||
- | | ||
if [ "$TRAVIS_BRANCH" == "master" ] && [ $TRAVIS_PULL_REQUEST == false ]; then | ||
echo "Not a Pull Request and on branch master so bumping version"; | ||
frauci-update-version; | ||
export TRAVIS_TAG=$(frauci-get-version) | ||
fi | ||
deploy: | ||
provider: releases | ||
api_key: "$GITHUB_RELEASE_TOKEN" | ||
on: | ||
tags: true | ||
env: | ||
global: | ||
- REPO_NAME=inputs | ||
- SAUCE_USERNAME: Desire2Learn | ||
- secure: 5gESj5HFQofXeB7QGnh8VS+eXv+YDJFXJnE2KQ+ZlU/E/ad4e9HgaumcDEZdg+rjuCn+gfXGy/SktQfnej+DJqc/2C+W6g63+sR1AEzWgPZyino/ZwQ06khlUUfAZQuYDp4z/pAoQsYFEaklbzU7J7+ksrPFENa+tkpCRZ6PlHBBR4Wy6UFYCTehDyTeXOa7+kAH5ODqIQmYkmVCv3j2hbKNzxSzCbgDS8JLzw1t96ZNpMUOpZPG+PxFrLs+5e9+KdadCIlETMEA7VcnVHda0r7En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csDa/C4dxv2hs= | ||
language: node_js | ||
node_js: node | ||
addons: | ||
chrome: stable | ||
script: | ||
- npm run lint | ||
- | | ||
if [ $TRAVIS_PULL_REQUEST != false ] && [ $TRAVIS_SECURE_ENV_VARS == true ]; then | ||
echo "Pull request with secure environment variables, running Sauce tests..."; | ||
npm run test:polymer:sauce || travis_terminate 1; | ||
else | ||
echo "Not a pull request and/or no secure environment variables, running headless tests..."; | ||
npm run test:polymer:local || travis_terminate 1; | ||
fi | ||
env: | ||
global: | ||
- SAUCE_USERNAME: Desire2Learn | ||
- secure: 5gESj5HFQofXeB7QGnh8VS+eXv+YDJFXJnE2KQ+ZlU/E/ad4e9HgaumcDEZdg+rjuCn+gfXGy/SktQfnej+DJqc/2C+W6g63+sR1AEzWgPZyino/ZwQ06khlUUfAZQuYDp4z/pAoQsYFEaklbzU7J7+ksrPFENa+tkpCRZ6PlHBBR4Wy6UFYCTehDyTeXOa7+kAH5ODqIQmYkmVCv3j2hbKNzxSzCbgDS8JLzw1t96ZNpMUOpZPG+PxFrLs+5e9+KdadCIlETMEA7VcnVHda0r7EnYmpYUKnirTeirsUCn16i0UIitI0eIz0W7gbEZgXyJRUM7tg5kACKixUza6TOqWOIm4eQOZVI04IGOlcvdYZB2ardYmstlPkWS2ZHJPd7oTrooie3U+Q6UMrSDFFehZbroZWT51RZozrEQU21ASJTgKMkeYlP6N/EeGTCdeS+SpqP47dFcdaPJIoFoMP3HPrRDX9F+FYmJcdVaW+El3XwMPUE1zO/wyvBLpwM1vlPauPphBffSIsWx9G+9Z2YUyJINUpckdIU1iGdR0gmWxngPFijxAUCFr7CaF9i5hBbXCwWUV0uxEJCflRi6sbqqbqgbx066EtclQJHSgtoxOs44R/E/dIFGOZimcCwmFPblcvi87Qx3/Y8pnjMiDwvoUV2YKG5R+eczMj2EyO7tQ= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters