.travis.yml 1012 B

1234567891011121314151617181920212223242526272829
  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
  17. - cabal install happy
  18. script:
  19. - ghc --version
  20. - cabal --version
  21. - arm-none-eabi-gcc --version
  22. - SCARGOT_REPO=$SCARGOT_REPO IVORY_REPO=$IVORY_REPO TOWER_REPO=$TOWER_REPO BSP_REPO=$BSP_REPO make create-sandbox
  23. - IVORY_REPO=$IVORY_REPO TOWER_REPO=$TOWER_REPO BSP_REPO=$BSP_REPO make
  24. - IVORY_REPO=$IVORY_REPO TOWER_REPO=$TOWER_REPO BSP_REPO=$BSP_REPO make test
  25. ghc:
  26. - 7.8
  27. branches:
  28. except:
  29. - /^wip.*$/