Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Use VCR fixtures on branches in Travis
Browse files Browse the repository at this point in the history
It's good to exercise live HTTP APIs, and Travis is the place to do
that, but it slows down development to do that on every branch all the
time. This commit changes our configuration to only clear out test
fixtures on the master branch.
  • Loading branch information
chadwhitacre committed Feb 28, 2014
1 parent 2373d55 commit cde5468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -7,7 +7,7 @@ install: make env node_modules
before_script:
- echo "DATABASE_URL=dbname=gittip" | tee -a tests/local.env local.env
- psql -U postgres -c 'CREATE DATABASE "gittip";'
- rm -rf tests/fixtures
- [ "`git rev-parse --abbrev-ref HEAD`" = "master" ] && rm -rf tests/fixtures
script: make test
notifications:
email: false
Expand Down

0 comments on commit cde5468

Please sign in to comment.