forked from vitessio/vitess
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Anand Henry
committed
Dec 12, 2014
1 parent
1e522d9
commit 9d51fb6
Showing
7 changed files
with
66 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
language: go | ||
env: | ||
global: | ||
- MYSQL_FLAVOR=MariaDB | ||
matrix: | ||
- TEST_SUITE=unit_test | ||
- TEST_SUITE=queryservice_test | ||
- TEST_SUITE=integration_test | ||
- TEST_SUITE=java_vtgate_client_test | ||
- TEST_SUITE=unit_test_goveralls | ||
before_install: | ||
- bash -v travis/dependencies.sh | ||
install: | ||
- bash -v bootstrap.sh | ||
script: | ||
- source dev.env | ||
- make $TEST_SUITE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# Add MariaDB repository | ||
sudo apt-get install python-software-properties | ||
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db | ||
sudo add-apt-repository 'deb http://ftp.utexas.edu/mariadb/repo/10.0/ubuntu precise main' | ||
sudo apt-get update | ||
|
||
# Remove pre-installed mysql | ||
sudo apt-get purge mysql* mariadb* | ||
|
||
# MariaDB | ||
sudo apt-get -f install \ | ||
libmysqlclient18=10.0.15+maria-1~precise \ | ||
libmariadbclient18=10.0.15+maria-1~precise \ | ||
libmariadbclient-dev=10.0.15+maria-1~precise \ | ||
mariadb-client-10.0=10.0.15+maria-1~precise \ | ||
mariadb-client-core-10.0=10.0.15+maria-1~precise \ | ||
mariadb-server-10.0=10.0.15+maria-1~precise \ | ||
mariadb-server-core-10.0=10.0.15+maria-1~precise | ||
|
||
# Other dependencies | ||
sudo apt-get install time automake libtool memcached python-dev python-mysqldb libssl-dev g++ mercurial git pkg-config bison bc | ||
|
||
# Java dependencies | ||
wget https://dl.bintray.com/sbt/debian/sbt-0.13.6.deb | ||
sudo dpkg -i sbt-0.13.6.deb | ||
sudo apt-get install protobuf-compiler maven | ||
|
||
set +e |