prasadtalasila/TransportScheduler

View on GitHub
script/travis-script-unit

Summary

Maintainability
Test Coverage
#!/bin/bash
########################
# Purpose: To perform CI on travis-ci.org
# Author: Prasad Talasila
# Date: 10-April-2017
# Invocation: This script does not require any arguements. From the project top-level
#             directory, invoke as follows. ONLY INVOKE INSIDE TRAVIS-CI ENVIRONMENT.
#             $bash script/travis
########################

set -e

source "$HOME/.bashrc"

MIX_ENV=unit mix coveralls.json test/unit --umbrella --exclude slow

bash <(curl -s https://codecov.io/bash) -f cover/excoveralls.json -F unit