Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
Fix Travis config for bcrypt install
Browse files Browse the repository at this point in the history
The Travis build was failing to compile bcrypt due to a C++
incompatibility issue. See [https://goo.gl/BS3stK](the Travis docs) for
the source of this change.
  • Loading branch information
AdamVig committed Feb 14, 2017
1 parent 251ef23 commit 3b6514e
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
language: node_js
node_js:
# Latest stable version
- node
- node
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
cache: yarn
notifications:
slack:
Expand All @@ -10,11 +18,11 @@ notifications:
on_success: never
on_failure: always
before_install:
# Copy environment variables file to prevent error
- cp .env.example .env
# Copy environment variables file to prevent error
- cp .env.example .env
after_success:
# Send test coverage to Coveralls
- "./node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls"
# Send test coverage to Coveralls
- "./node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls"
deploy:
provider: script
script: scripts/deploy.sh
Expand Down

0 comments on commit 3b6514e

Please sign in to comment.