Tool to transform OLTP database schemas to OLAP database schemas automatically
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.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Use new container infrastructure to enable caching
  2. sudo: false
  3. # Choose a lightweight base image; we provide our own build tools.
  4. language: c
  5. # The different configurations we want to test. You could also do things like
  6. # change flags or use --stack-yaml to point to a different file.
  7. env:
  8. - ARGS="--resolver lts-2"
  9. - ARGS="--resolver lts-3"
  10. - ARGS="--resolver lts-4"
  11. - ARGS="--resolver lts-5"
  12. - ARGS="--resolver lts-6"
  13. - ARGS="--resolver lts-7"
  14. - ARGS="--resolver lts-8"
  15. - ARGS="--resolver lts-9"
  16. - ARGS="--resolver lts"
  17. - ARGS="--resolver nightly"
  18. before_install:
  19. # Download and unpack the stack executable
  20. - mkdir -p ~/.local/bin
  21. - export PATH=$HOME/.local/bin:$PATH
  22. - travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
  23. - stack $ARGS --no-terminal --install-ghc install cabal-install happy
  24. - cabal update
  25. # This line does all of the work: installs GHC if necessary, build the library,
  26. # executables, and test suites, and runs the test suites. --no-terminal works
  27. # around some quirks in Travis's terminal implementation.
  28. script:
  29. - export PATH=$(stack $ARGS path | grep compiler-bin | awk '{print $2}'):$PATH
  30. - export DIST_DIR=$(stack $ARGS path | grep dist-dir | awk '{print $2}')
  31. - export ARCH=$(echo $DIST_DIR | cut -d '/' -f 3)
  32. - export GHC_VER=$(ghc --version | awk '{print $8}')
  33. - stack $ARGS --no-terminal install --test --fast
  34. - stack $ARGS sdist ringo-core && cd ringo-core && ../test_sdist
  35. - cd $TRAVIS_BUILD_DIR
  36. - stack $ARGS sdist ringo && cd ringo && ../test_sdist
  37. before_cache:
  38. - cd $TRAVIS_BUILD_DIR
  39. - rm -rf .stack-work/logs;
  40. - rm -rf $HOME/.cabal/logs;
  41. - rm -rf $HOME/.cabal/lib/$ARCH-ghc-$GHC_VER/ringo*
  42. # Caching so the next build will be fast too.
  43. cache:
  44. directories:
  45. - $HOME/.stack
  46. - $HOME/.cabal
  47. - $HOME/.ghc
  48. - .stack-work
  49. - ringo/.stack-work
  50. - ringo-core/.stack-work