Farmbot-Web-App/.travis.yml
2016-12-06 02:26:34 +00:00

17 lines
529 B
YAML
Executable file

language: ruby
rvm:
- 2.3.2
before_script:
- cp config/database.travis.yml config/database.yml
- ./install_frontend.sh
- bundle exec rake db:create db:migrate
script:
# A 'fake' secret token for use in our CI env.
# Don't worry- this isn't the real one.
- export SECRET_TOKEN=e815982094c62436066bafc9151f2d33c4a351a776654cb7487476de260a4592
- export MQTT_HOST=example.com
- export OS_UPDATE_SERVER=http://example.com
- export FW_UPDATE_SERVER=http://example.com
- export DB=postgresql
- bundle exec rspec