Tweak to see if Travis will let this run?
Fixes to the installer.
This commit is contained in:
parent
868a57d6d2
commit
90cc069132
|
@ -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'
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
echo "Generating the dynamic code"
|
||||
go generate
|
||||
echo "Running tests"
|
||||
go test
|
||||
go test -o GosoraTests
|
||||
./GosoraTests
|
Loading…
Reference in New Issue