Farmbot-Web-App/.travis.yml

22 lines
719 B
YAML
Executable File

language: ruby
rvm:
- 2.4.1
before_script:
- cp config/database.travis.yml config/database.yml
- mkdir -p public/app
- touch public/app/index.html
- ./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 GCS_BUCKET=farmbot-team
- export GCS_ID=XnqcumDRnrsFdJpX5glhFpZQKSJIjZ+/lPnWkPe/
- export GCS_KEY=GOOGSDXDNLBL7DHPNZTT
- 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