From 8b83c3a77d4bf2ff01b3da789aba7197ff183f30 Mon Sep 17 00:00:00 2001 From: pacien Date: Thu, 16 Jan 2020 00:10:26 +0100 Subject: ci: configure travis ci --- .travis.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e9f8948 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,31 @@ +language: generic + +jobs: + include: + - name: viewer + language: node_js + node_js: 12 + cache: + directories: + - viewer/node_modules + install: + - cd viewer + - npm install + script: + - npm run lint + - npm run build + + - name: compiler + language: haskell + cache: + directories: + - $HOME/.stack + before_install: + - mkdir -p ~/.local/bin + - export PATH=$HOME/.local/bin:$PATH + - travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' + install: + - cd compiler + - stack setup --no-terminal + script: + - stack build --no-terminal -- cgit v1.2.3