Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix support for text-2.0 #4

Merged
merged 1 commit into from
Apr 10, 2024

fix support for text-2.0

58b504d
Select commit
Loading
Failed to load commit list.
Merged

fix support for text-2.0 #4

fix support for text-2.0
58b504d
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch required action Apr 10, 2024 in 6m 48s

Build Errored

The build errored.

Details

This is a normal build for the staging.tmp branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build has five jobs, running in parallel.

Job ENV OS State
42.1 CABALVER=1.18 GHCVER=7.8.4 MYSQLVER=5.5 Linux errored
42.2 CABALVER=1.22 GHCVER=7.10.2 MYSQLVER=5.5 Linux errored
42.3 CABALVER=1.24 GHCVER=8.0.1 MYSQLVER=5.5 Linux errored
42.4 CABALVER=1.24 GHCVER=8.0.1 MYSQLVER=5.6 Linux errored
42.5 CABALVER=1.24 GHCVER=8.0.1 MYSQLVER=5.7 Linux errored

Build Configuration

Build Option Setting
Language Ruby
Operating System Linux (Trusty)
Build Configuration
{
  "language": "ruby",
  "os": [
    "linux"
  ],
  "dist": "trusty",
  "sudo": true,
  "env": [
    "jobs={:CABALVER=>\"1.18\", :GHCVER=>\"7.8.4\", :MYSQLVER=>\"5.5\"}={:CABALVER=>\"1.22\", :GHCVER=>\"7.10.2\", :MYSQLVER=>\"5.5\"}={:CABALVER=>\"1.24\", :GHCVER=>\"8.0.1\", :MYSQLVER=>\"5.5\"}={:CABALVER=>\"1.24\", :GHCVER=>\"8.0.1\", :MYSQLVER=>\"5.6\"}={:CABALVER=>\"1.24\", :GHCVER=>\"8.0.1\", :MYSQLVER=>\"5.7\"}"
  ],
  "before_install": [
    "export DEBIAN_FRONTEND=noninteractive",
    "travis_retry sudo add-apt-repository -y ppa:hvr/ghc",
    "travis_retry sudo apt-get update",
    "travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER",
    "export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH",
    "travis_retry sudo apt-get install happy-1.19.4 alex-3.1.3",
    "export PATH=/opt/alex/3.1.3/bin:/opt/happy/1.19.4/bin:$PATH",
    "if [ ${MYSQLVER} == \"5.7\" ]; then\n    echo mysql-apt-config mysql-apt-config/select-server select mysql-5.7 | sudo debconf-set-selections\n    wget http://dev.mysql.com/get/mysql-apt-config_0.7.3-1_all.deb\n    sudo dpkg --install mysql-apt-config_0.7.3-1_all.deb\n    sudo apt-get update -q\n    sudo apt-get install -q --force-yes -o Dpkg::Options::=--force-confnew mysql-server\n    sudo mysql_upgrade\n    sudo mysql -V\n    sudo mysql -u root -e \"CREATE DATABASE IF NOT EXISTS testMySQLHaskell;\"\n    sudo mysql -u root -e \"CREATE USER 'testMySQLHaskell'@'localhost' IDENTIFIED BY ''\"\n    sudo mysql -u root -e \"GRANT ALL PRIVILEGES ON testMySQLHaskell.* TO 'testMySQLHaskell'@'localhost'\"\n    sudo mysql -u root -e \"GRANT REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'testMySQLHaskell'@'localhost';\"\n    sudo mysql -u root -e \"FLUSH PRIVILEGES\"\n    sudo echo \"max_allowed_packet=256M\" | sudo tee -a /etc/mysql/mysql.conf.d/mysqld.cnf\n    sudo echo \"server-id = 1\" | sudo tee -a /etc/mysql/mysql.conf.d/mysqld.cnf\n    sudo echo \"log_bin = /var/log/mysql/mysql-bin.log\" | sudo tee -a /etc/mysql/mysql.conf.d/mysqld.cnf\n    sudo service mysql restart\nelse\n    travis_retry sudo apt-get install -q -y mysql-server-${MYSQLVER} mysql-client-core-${MYSQLVER} mysql-client-${MYSQLVER}\n    mysql -V\n    mysql -u root -e \"CREATE DATABASE IF NOT EXISTS testMySQLHaskell;\"\n    mysql -u root -e \"CREATE USER 'testMySQLHaskell'@'localhost' IDENTIFIED BY ''\"\n    mysql -u root -e \"GRANT ALL PRIVILEGES ON testMySQLHaskell.* TO 'testMySQLHaskell'@'localhost'\"\n    mysql -u root -e \"GRANT REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'testMySQLHaskell'@'localhost';\"\n    mysql -u root -e \"FLUSH PRIVILEGES\"\n    sudo echo \"[mysqld]\" | sudo tee -a /etc/mysql/my.cnf\n    sudo echo \"max_allowed_packet=256M\" | sudo tee -a /etc/mysql/my.cnf\n    sudo echo \"server-id = 1\" | sudo tee -a /etc/mysql/my.cnf\n    sudo echo \"log_bin = /var/log/mysql/mysql-bin.log\" | sudo tee -a /etc/mysql/my.cnf\n    sudo echo \"binlog_format = ROW\" | sudo tee -a /etc/mysql/my.cnf\n    sudo service mysql restart\nfi\n"
  ],
  "install": [
    "cabal --version",
    "echo \"$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]\"",
    "travis_retry cabal update",
    "cabal install --only-dependencies --enable-tests --enable-benchmarks"
  ],
  "script": [
    "if [ -f configure.ac ]; then autoreconf -i; fi",
    "cabal configure --enable-tests --enable-benchmarks -v2",
    "cabal build",
    "cabal test",
    "cabal bench",
    "cabal check",
    "cabal sdist",
    "SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz && (cd dist && cabal install --force-reinstalls \"$SRC_TGZ\")"
  ]
}