Skip to content

cache npm by default #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 6 additions & 55 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,56 +1,7 @@
sudo: false
addons:
ssh_known_hosts:
- bitbucket.org
- sammich.meatballhat.com
language: ruby
cache: bundler
rvm:
- 2.2
env:
global:
- ENDPOINT=foo.bar
- SPECIAL=test
matrix:
- ENDPOINT=bar.baz TYPE=test
notifications:
email: false
irc:
channels: irc.freenode.org#travisstaging
template: "[STAGING] %{repository} (%{commit}) %{build_url} : %{message} - AM
I RIGHT?"
webhooks:
urls: http://requestb.in/x6g8i2x6
on_start: always
on_finish: always
hipchat:
server:
secure: O9+nXVHXj131FJfV7a4tlw+4uO3BfmtaylgKCkUnfC9vTN82SWZxudfFv6AUV533k/fqkCSQ1LbywllvZrH4iGlAd56jUwjmt6YDRjmuoH70/xwaiPj9XjlZ7EhqyeXKDBJeXHfGKJr2K4MRPfMvCXE+66iq5FLrDFQA2JHFZRY=
rooms:
secure: Z/9PFTQnCjcAeWX+oW4q0ipVtPnfsbZUSx/XxcgkF3jp8v6UDZN/eAz1InVHE9VGBqB9jynSfiU5fWEfwzLqaloT5Qr1K7i/7+p2qxzQcBOSPRiWH6+SlWTpn97LsAPC1nM2OBxgL/kSy8L43zoZuHO0v6K8PFviEl54ZCAq2Do=
install:
- curl -v -s https://nodejs.org/dist -o - || true
- nvm --version || true
- nvm ls-remote || true
- nvm install 0.10.32 || true
language: node_js
node_js:
- "node"
cache:
npm: false
script:
- date
- travis_retry ./error_out
- echo "NEXT SCRIPT!!"
- export EXPORTED_DURING_SCRIPT="exported during script, works with travis_cmd still"
- echo $EXPORTED_DURING_SCRIPT
- echo $(echo "$EXPORTED_DURING_SCRIPT, even with an extra subshell")
- echo $(echo "redirecting stdout" > ./foo && cat ./foo) > ./bar && cat ./bar
before_script:
- echo 'Before script!!'
- sudo service postgresql restart
after_script:
- echo 'After script'
after_success:
- echo 'After success'
after_failure:
- echo 'After failure'
after_test:
- echo 'Yupi'
- echo 'Splendid'
- printenv
- echo hola