Tweak to see if Travis will let this run?

Fixes to the installer.
This commit is contained in:
Azareal 2017-10-31 00:33:14 +00:00
parent 868a57d6d2
commit 90cc069132
3 changed files with 10 additions and 7 deletions

View File

@ -4,8 +4,9 @@ go:
- master
before_install:
- chmod 755 ./update-deps-linux
- chmod 755 ./run-linux-tests
- ./update-deps-linux
install: true
script: go test
script: ./run-linux-tests
addons:
mariadb: '10.0'

View File

@ -112,11 +112,11 @@ func init() {
site.Language = "english"
// Database details
dbConfig.Host = "` + adap.DbHost() + `"
dbConfig.Username = "` + adap.DbUsername() + `"
dbConfig.Password = "` + adap.DbPassword() + `"
dbConfig.Dbname = "` + adap.DbName() + `"
dbConfig.Port = "` + adap.DbPort() + `" // You probably won't need to change this
dbConfig.Host = "` + adap.DBHost() + `"
dbConfig.Username = "` + adap.DBUsername() + `"
dbConfig.Password = "` + adap.DBPassword() + `"
dbConfig.Dbname = "` + adap.DBName() + `"
dbConfig.Port = "` + adap.DBPort() + `" // You probably won't need to change this
// Test Database details
dbConfig.TestHost = ""
@ -191,6 +191,7 @@ func abortError(err error) {
}
func handleDatabaseDetails() (adap install.InstallAdapter, ok bool) {
var dbAdapter string
var dbHost string
var dbUsername string
var dbPassword string

View File

@ -1,4 +1,5 @@
echo "Generating the dynamic code"
go generate
echo "Running tests"
go test
go test -o GosoraTests
./GosoraTests