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 5
5
include :
6
6
- go : 1.12.x
7
7
- go : 1.13.x
8
+ - arch : s390x
9
+ go : 1.12.x
10
+ - arch : s390x
11
+ go : 1.13.x
8
12
9
13
# Install g++-4.8 to support std=c++11 for github.com/google/certificate-transparency/go/merkletree
10
14
addons :
@@ -33,6 +37,16 @@ branches:
33
37
34
38
before_script :
35
39
- 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
36
50
# Setup DBs + run migrations
37
51
# The sql_mode adjustment is to remove a sql_mode that was added in MySQL 5.7, this mode applies a rule that does:
38
52
# > 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