This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #39 from BrightspaceUI/revert-38-master
Revert "Add automatic CI versioning"
- Loading branch information
Showing
3 changed files
with
17 additions
and
40 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 | ||
language: node_js | ||
node_js: node | ||
addons: | ||
chrome: stable | ||
script: | ||
- npm run test: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=offscreen | ||
- SAUCE_USERNAME: Desire2Learn | ||
- secure: RtWC2uMUHvox7Y/qdWd7wrxEYedg1MdnZp9aoI2jL8KP4gi/efeFhzBIjIShnv6hnkJdf7Vy+5PTwgp4q6i4HZzmIAjyEGX+J5xd8emd3yrYg2puBrKI4bE+qzjnrWsc/9tbeqbRviFZzJzLzGCz9t1H3m/USKnzU71z7M3lFlA= | ||
- secure: QZCXkJJHV+dL29b829G9Mluib5o0KcZTl6SQIZ2VhVDAndHE+B1Ng8pO4X3LFvb1qzvcjZTuoygByuDGjAhYcWRAfsghwHDs4iWG3De4Df7YDVPyMoD5qTJnqJoCq1JV5l6++RpGSN7sjcZGLQnZN7lip73vQDbN+3YeKbBl6QA= | ||
chrome: stable | ||
script: | ||
- npm run test: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: RtWC2uMUHvox7Y/qdWd7wrxEYedg1MdnZp9aoI2jL8KP4gi/efeFhzBIjIShnv6hnkJdf7Vy+5PTwgp4q6i4HZzmIAjyEGX+J5xd8emd3yrYg2puBrKI4bE+qzjnrWsc/9tbeqbRviFZzJzLzGCz9t1H3m/USKnzU71z7M3lFlA= |
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