Skip to content

Commit

Permalink
export env keys in the before script
Browse files Browse the repository at this point in the history
  • Loading branch information
fatboypunk committed Aug 15, 2016
1 parent 4d96499 commit ad05902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ bundler_args: "--without debug development"
cache: bundler
before_script:
- cp .sample.env .env
- export SECRET_KEY_BASE="$(bundle exec rake secret)"
- cp config/database.travis.yml config/database.yml
- psql -c 'create database hours_test' -U postgres
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
env: SECRET_KEY_BASE="$(bundle exec rake secret)"

0 comments on commit ad05902

Please sign in to comment.