Skip to content

Commit

Permalink
Merge pull request #1 from RTIInternational/setup-travis-ci
Browse files Browse the repository at this point in the history
Setup travis ci
  • Loading branch information
wengerm50 committed Sep 28, 2018
2 parents e0f1053 + 4c0b245 commit 939a5eb
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .travis.yml
@@ -0,0 +1,26 @@
sudo: required

services:
- docker

before_install:
- docker -v
- docker-compose -v

# Disable services enabled by default
- sudo /etc/init.d/mysql stop
- sudo /etc/init.d/postgresql stop

before_script:
- cd envs/dev
- docker-compose build
- docker volume create vol_smart_pgdata && docker volume create vol_smart_data

script:
- docker-compose up -d
- docker-compose exec smart_frontend bash -c "./run_tests.sh"
- docker-compose exec smart_backend bash -c "./run_tests.sh"

after_script:
- docker-compose down
- docker volume remove vol_smart_pgdata && docker volume remove vol_smart_data
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
# SMART [![build status](http://gitlab.rtp.rti.org/cds/smart/badges/master/build.svg)](http://gitlab.rtp.rti.org/cds/smart/commits/master) [![coverage report](http://gitlab.rtp.rti.org/cds/smart/badges/master/coverage.svg)](http://gitlab.rtp.rti.org/cds/smart/commits/master)
# SMART [![Build Status](https://travis-ci.com/RTIInternational/SMART.svg?&branch=master)](https://travis-ci.com/RTIInternational/SMART)

This application is for intelligently labeling data by utilizing active learning. It consists of a Django web application backed by a Postgres database and a Redis store. The application uses Docker in development to aid in dependency management.

Expand Down

0 comments on commit 939a5eb

Please sign in to comment.