pull/10/head
Hunter Long 2018-06-23 19:03:30 -07:00
parent 337f5fe936
commit cfd534b74a
2 changed files with 4 additions and 1 deletions

View File

@ -47,7 +47,7 @@ before_install:
after_success:
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then /bin/bash -c ./build.sh; fi
- "curl -H 'Content-Type: application/json' --data '{\"source_type\": \"Tag\", \"source_name\": \"$VERSION\"}' -X POST $DOCKER > /dev/null"
- curl -X POST $DOCKER > /dev/null
before_script:
- mysql -e 'CREATE DATABASE IF NOT EXISTS test;'

View File

@ -26,6 +26,7 @@ func TestMySQLMakeConfig(t *testing.T) {
"",
"admin",
"admin",
"",
nil,
}
err := config.Save()
@ -66,6 +67,7 @@ func TestSqliteMakeConfig(t *testing.T) {
"",
"admin",
"admin",
"",
nil,
}
err := config.Save()
@ -98,6 +100,7 @@ func TestPostgresMakeConfig(t *testing.T) {
"",
"admin",
"admin",
"",
nil,
}
err := config.Save()