.travis.yml 963 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. sudo: false
  2. language: c
  3. os:
  4. - linux
  5. - osx
  6. dist: trusty
  7. matrix:
  8. allow_failures:
  9. - os: osx
  10. addons:
  11. apt:
  12. packages:
  13. - libcurl4-openssl-dev
  14. - libsdl1.2-dev
  15. - libgc-dev
  16. before_install:
  17. - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
  18. - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install boehmgc; fi
  19. before_script:
  20. - set -e
  21. - git clone --depth 1 https://github.com/nim-lang/csources.git
  22. - cd csources
  23. - sh build.sh
  24. - cd ..
  25. - sed -i -e 's,cc = gcc,cc = clang,' config/nim.cfg
  26. - export PATH=$(pwd)/bin:$PATH
  27. script:
  28. - nim c koch
  29. - ./koch boot
  30. - ./koch boot -d:release
  31. - ./koch nimble
  32. - nim e tests/test_nimscript.nims
  33. - nimble install zip -y
  34. - nimble install opengl
  35. - nimble install sdl1
  36. - nimble install jester@#head
  37. - nimble install niminst
  38. - nim c --taintMode:on -d:nimCoroutines tests/testament/tester
  39. - tests/testament/tester --pedantic all -d:nimCoroutines
  40. - ./koch csource