.travis.yml 945 B

123456789101112131415161718192021222324252627282930313233
  1. language: haskell
  2. before_install:
  3. - sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
  4. - sudo apt-get update -qq
  5. - sudo apt-get install -y gcc-arm-none-eabi
  6. - git clone https://github.com/galoisinc/ivory
  7. - export IVORY_REPO=$PWD/ivory
  8. - git clone https://github.com/galoisinc/tower
  9. - export TOWER_REPO=$PWD/tower
  10. - git clone https://github.com/galoisinc/ivory-tower-stm32
  11. - export BSP_REPO=$PWD/ivory-tower-stm32
  12. - git clone https://github.com/aisamanra/s-cargot
  13. - export SCARGOT_REPO=$PWD/s-cargot
  14. install:
  15. - cabal install cabal-install
  16. - cabal install alex happy
  17. script:
  18. - ghc --version
  19. - cabal --version
  20. - arm-none-eabi-gcc --version
  21. - make create-sandbox
  22. - make
  23. - make $ENV_TEST_TARGET
  24. ghc:
  25. - 7.8
  26. branches:
  27. except:
  28. - /^wip.*$/
  29. env:
  30. - ENV_TEST_TARGET=haskell-backend-test
  31. - ENV_TEST_TARGET=rpc-backend-test
  32. - ENV_TEST_TARGET=ivory-backend-test
  33. - ENV_TEST_TARGET=tower-backend-test