Skip to content
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

Including hub server for integration tests #14

Closed
wants to merge 11 commits into from
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cache:
directories:
- _build
- deps
- smart-home-auth-server/deps
- smart-home-auth-server-deps
nelsonic marked this conversation as resolved.
Show resolved Hide resolved
before_install:
- sudo apt-get update
# build utils required to compile github.com/boydm/scenic_driver_glfw
Expand All @@ -20,6 +20,8 @@ before_install:
- mix archive.install --force hex nerves_bootstrap
# Include our hub server at master
- git clone https://github.com/dwyl/smart-home-auth-server
- mkdir smart-home-auth-server/deps
- cp -R smart-home-auth-server-deps/* smart-home-auth-server/deps
- cd smart-home-auth-server
- mix setup
- |
Expand All @@ -31,6 +33,9 @@ script:
after_success:
- bash <(curl -s https://codecov.io/bash)
- kill $SERVER_PID
- rm -rf smart-home-auth-server-deps
- mkdir smart-home-auth-server-deps
- cp -R smart-home-auth-server/deps/* smart-home-auth-server-deps
env:
global:
- MIX_ENV=test
Expand Down