A terminal client for the Mattermost chat system
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.travis.yml 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # This file has been modified from the original generated version -- see
  2. # https://github.com/hvr/multi-ghc-travis
  3. language: c
  4. sudo: false
  5. matrix:
  6. include:
  7. - env: CABALVER=1.24 GHCVER=7.10.3
  8. compiler: ": #GHC 7.10.3"
  9. addons: {apt: {packages: [cabal-install-1.24,ghc-7.10.3,alex-3.1.7,happy-1.19.5], sources: [hvr-ghc]}}
  10. - env: CABALVER=1.24 GHCVER=8.0.1
  11. compiler: ": #GHC 8.0.1"
  12. addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.1,alex-3.1.7,happy-1.19.5], sources: [hvr-ghc]}}
  13. - env: CABALVER=2.0 GHCVER=8.2.1
  14. compiler: ": #GHC 8.2.1"
  15. addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.1,alex-3.1.7,happy-1.19.5], sources: [hvr-ghc]}}
  16. before_install:
  17. - unset CC
  18. - export HAPPYVER=1.19.5
  19. - export ALEXVER=3.1.7
  20. - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:/opt/happy/$HAPPYVER/bin:/opt/alex/$ALEXVER/bin:$PATH
  21. install:
  22. - cabal --version
  23. - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
  24. - if [ -f $HOME/.cabal/packages/hackage.haskell.org/00-index.tar.gz ];
  25. then
  26. zcat $HOME/.cabal/packages/hackage.haskell.org/00-index.tar.gz >
  27. $HOME/.cabal/packages/hackage.haskell.org/00-index.tar;
  28. fi
  29. - travis_retry cabal update -v
  30. - sed -i 's/^jobs:/-- jobs:/' ${HOME}/.cabal/config
  31. # Here starts the actual work to be performed for the package under test;
  32. # any command which exits with a non-zero exit code causes the build to fail.
  33. script:
  34. - if [ -f configure.ac ]; then autoreconf -i; fi
  35. - cabal check
  36. - cp cabal.project.travis cabal.project.local
  37. - bash install.sh
  38. - cabal sdist
  39. # EOF