-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Have Travis publish npm versions
- Loading branch information
1 parent
17edecd
commit 7e0c6b3
Showing
1 changed file
with
23 additions
and
18 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,33 +1,38 @@ | ||
language: node_js | ||
node_js: | ||
- "0.10" | ||
|
||
- '0.10' | ||
services: | ||
- mongodb | ||
|
||
- mongodb | ||
env: | ||
- CI_SERVER=1 | ||
|
||
- CI_SERVER=1 | ||
addons: | ||
code_climate: | ||
code_climate: | ||
repo_token: 9c90177b42d39905ca635b1f6226580dab5799f87f172b66bab4e8df77b67a13 | ||
|
||
before_install: | ||
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 | ||
- echo 'deb http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.0 multiverse' | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list | ||
- echo 'deb http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.1 multiverse' | sudo tee /etc/apt/sources.list.d/mongodb-org-3.1.list | ||
- echo 'deb http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.0 multiverse' | ||
| sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list | ||
- echo 'deb http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.1 multiverse' | ||
| sudo tee /etc/apt/sources.list.d/mongodb-org-3.1.list | ||
- sudo apt-get update | ||
- sudo apt-get install -y mongodb-org mongodb-org-server mongodb-org-shell mongodb-org-tools | ||
|
||
before_script: | ||
- "until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done" | ||
- "mongo --version" | ||
- until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done | ||
- mongo --version | ||
- gulp build | ||
|
||
script: | ||
- gulp ci | ||
|
||
after_script: | ||
- gulp coverage | ||
- coveralls < coverage/lcov.info | ||
- codeclimate < coverage/lcov.info | ||
- gulp coverage | ||
- coveralls < coverage/lcov.info | ||
- codeclimate < coverage/lcov.info | ||
|
||
deploy: | ||
skip_cleanup: true | ||
provider: npm | ||
email: [email protected] | ||
api_key: | ||
secure: A2tBD6QCdYd814GqbVNmVFzQjbAFF+4CK6JhOJEG3ovXwXuVbIlm+tSu6u+/zIS7ChTJ+RDKsY0/AlMrrhP4Qbm8pd0MsGNWMDPelklDXKHj8tw/s3FdXi8bU2Kn8IGAwMY729MMGdShvMbKx71Wt20jPQ/cMf2Bz25j4Q3WEMQ= | ||
on: | ||
branch: release | ||
repo: SierraSoftworks/Iridium |