Refactor these shell scripts.
Bumped up the version of MariaDB for Travis.
This commit is contained in:
parent
45465ef210
commit
3079080acf
@ -22,4 +22,4 @@ script: ./run-linux-tests
|
||||
after_script:
|
||||
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
||||
addons:
|
||||
mariadb: '10.1'
|
||||
mariadb: '11.0'
|
15
build-linux
15
build-linux
@ -5,18 +5,12 @@ rm -f tmpl_client/template_*.go
|
||||
rm -f ./Gosora
|
||||
|
||||
echo "Building the router generator"
|
||||
cd ./router_gen
|
||||
go build -o RouterGen
|
||||
mv ./RouterGen ..
|
||||
cd ..
|
||||
go build -o RouterGen "./router_gen"
|
||||
echo "Running the router generator"
|
||||
./RouterGen
|
||||
|
||||
echo "Building the query generator"
|
||||
cd ./cmd/query_gen
|
||||
go build -o QueryGen
|
||||
mv ./QueryGen ../..
|
||||
cd ../..
|
||||
go build -o QueryGen "./cmd/query_gen"
|
||||
echo "Running the query generator"
|
||||
./QueryGen
|
||||
|
||||
@ -25,7 +19,4 @@ go generate
|
||||
go build -o Gosora
|
||||
|
||||
echo "Building the installer"
|
||||
cd ./install
|
||||
go build -o Installer
|
||||
mv ./Installer ..
|
||||
cd ..
|
||||
go build -o Installer "./install"
|
||||
|
@ -9,9 +9,6 @@ git pull origin master
|
||||
git stash apply
|
||||
|
||||
echo "Patching Gosora"
|
||||
cd ./patcher
|
||||
go generate
|
||||
go build -o Patcher
|
||||
mv ./Patcher ..
|
||||
cd ..
|
||||
go build -o Patcher "./patcher"
|
||||
./Patcher
|
@ -1,7 +1,4 @@
|
||||
echo "Building the patcher"
|
||||
cp ./schema/schema.json ./schema/lastSchema.json
|
||||
cd ./patcher
|
||||
go generate
|
||||
go build -o Patcher
|
||||
mv ./Patcher ..
|
||||
cd ..
|
||||
go build -o Patcher "./patcher"
|
@ -2,11 +2,7 @@ echo "Installing the dependencies"
|
||||
go get
|
||||
|
||||
echo "Building the installer"
|
||||
cd ./install
|
||||
go generate
|
||||
go build -o Installer
|
||||
mv ./Installer ..
|
||||
cd ..
|
||||
go build -o Installer "./install"
|
||||
|
||||
echo "Running the installer"
|
||||
./Installer
|
||||
|
Loading…
Reference in New Issue
Block a user