File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 55 include :
66 - go : 1.12.x
77 - go : 1.13.x
8+ - arch : s390x
9+ go : 1.12.x
10+ - arch : s390x
11+ go : 1.13.x
812
913# Install g++-4.8 to support std=c++11 for github.com/google/certificate-transparency/go/merkletree
1014addons :
@@ -33,6 +37,16 @@ branches:
3337
3438before_script :
3539 - make bin/golint
40+ # Setup postgresql for s390x environment
41+ - if [[ $(uname -m) == 's390x' ]]; then
42+ sudo apt-get --purge remove postgresql-*;
43+ sudo rm -Rf /etc/postgresql /var/lib/postgresql;
44+ sudo apt-get update;
45+ sudo apt-get install -y postgresql-9.5;
46+ sudo sed -i -e '/local.*peer/s/postgres/all/' -e 's/peer\|md5/trust/g' /etc/postgresql/9.5/main/pg_hba.conf;
47+ sudo service postgresql restart;
48+ sudo -u postgres createuser travis;
49+ fi
3650 # Setup DBs + run migrations
3751 # The sql_mode adjustment is to remove a sql_mode that was added in MySQL 5.7, this mode applies a rule that does:
3852 # > The NO_ZERO_DATE mode affects whether the server permits '0000-00-00' as a valid date.
You can’t perform that action at this time.
0 commit comments