Last active
December 2, 2015 10:34
-
-
Save benjick/3500ea38766ac2bd7c6e to your computer and use it in GitHub Desktop.
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
sudo: required | |
language: node_js | |
node_js: | |
- 5.0.0 | |
services: | |
- docker | |
install: true | |
script: | |
- echo "Hey" | |
deploy: | |
provider: script | |
script: config/travis/release.sh |
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
#!/bin/sh | |
if ([ "$TRAVIS_BRANCH" == "master" ] || [ ! -z "$TRAVIS_TAG" ]) && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then | |
echo "Let's deploy!" | |
VERSION="travis-$TRAVIS_BRANCH-$TRAVIS_JOB_NUMBER" | |
API_JSON=$(printf '{"tag_name": "%s","target_commitish": "master","name": "%s","body": "Automatic release of version %s (thanks Travis!)","draft": false,"prerelease": false}' $VERSION $VERSION $VERSION) | |
curl -s --data "$API_JSON" https://api.github.com/repos/$TRAVIS_REPO_SLUG/releases?access_token=$ACCESS_TOKEN > /dev/null | |
else | |
echo "This is not deplyable" | |
fi |
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
Warning! PATH is not properly set up, '/usr/local/rvm/gems/ruby-2.2.3/bin' is not at first place, | |
usually this is caused by shell initialization files - check them for 'PATH=...' entries, | |
it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles', | |
to fix temporarily in this shell session run: 'rvm use ruby-2.2.3'. | |
Fetching: dpl-1.8.11.gem (100%) | |
Successfully installed dpl-1.8.11 | |
1 gem installed | |
Warning! PATH is not properly set up, '/usr/local/rvm/gems/ruby-2.2.3/bin' is not at first place, | |
usually this is caused by shell initialization files - check them for 'PATH=...' entries, | |
it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles', | |
to fix temporarily in this shell session run: 'rvm use ruby-2.2.3'. | |
Installing deploy dependencies | |
!!! Script support is experimental !!! | |
Preparing deploy | |
warning: CRLF will be replaced by LF in client/node_modules/enhanced-resolve/node_modules/memory-fs/.gitattributes. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/enhanced-resolve/node_modules/memory-fs/.travis.yml. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/enhanced-resolve/node_modules/memory-fs/README.md. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/enhanced-resolve/node_modules/memory-fs/lib/MemoryFileSystem.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/enhanced-resolve/node_modules/memory-fs/lib/join.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/enhanced-resolve/node_modules/memory-fs/lib/normalize.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/enhanced-resolve/node_modules/memory-fs/test/MemoryFileSystem.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/memory-fs/.gitattributes. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/memory-fs/.travis.yml. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/memory-fs/README.md. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/memory-fs/lib/MemoryFileSystem.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/memory-fs/lib/join.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/memory-fs/lib/normalize.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/memory-fs/test/MemoryFileSystem.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/tapable/.gitattributes. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/tapable/.npmignore. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/tapable/.travis.yml. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/tapable/README.md. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/tapable/lib/Tapable.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/tapable/test/applyPluginsParallelBailResultTest.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/watchpack/.eslintrc. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/watchpack/.gitattributes. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/watchpack/.npmignore. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/watchpack/.travis.yml. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/watchpack/README.md. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/watchpack/appveyor.yml. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/watchpack/lib/DirectoryWatcher.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/watchpack/lib/watcherManager.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/watchpack/lib/watchpack.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/watchpack/playground/watch-folder.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/watchpack/test/DirectoryWatcher.test.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/watchpack/test/casing.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/watchpack/test/helpers/TestHelper.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/watchpack/test/watchpack.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/.npmignore. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/README.md. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/lib/CachedSource.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/lib/ConcatSource.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/lib/LineToLineMappedSource.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/lib/LoadersList.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/lib/ModuleBuildError.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/lib/ModuleError.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/lib/ModuleWarning.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/lib/NormalModuleMixin.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/lib/OptionsDefaulter.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/lib/OriginalSource.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/lib/PrefixSource.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/lib/RawSource.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/lib/ReplaceSource.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/lib/Source.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/lib/SourceAndMapMixin.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/lib/SourceMapSource.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-core/lib/source-map.js. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-dev-middleware/.gitattributes. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-dev-middleware/.npmignore. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-dev-middleware/README.md. | |
The file will have its original line endings in your working directory. | |
warning: CRLF will be replaced by LF in client/node_modules/webpack-dev-middleware/middleware.js. | |
The file will have its original line endings in your working directory. | |
Saved working directory and index state WIP on (no branch): b54e9d2 chmod +x release.sh | |
HEAD is now at b54e9d2 chmod +x release.sh | |
Deploying application | |
config/travis/release.sh: 2: [: master: unexpected operator | |
Already up-to-date! | |
HEAD detached at b54e9d2 | |
nothing to commit, working directory clean | |
Dropped refs/stash@{0} (b243f47ae81efa5fd1e4e1a0d77a9294fc1d21b9) | |
Done. Your build exited with 0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment