diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 692814d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,68 +0,0 @@ -sudo: false -language: c -node_js: -- '8' -matrix: - include: - - os: linux - dist: bionic - sudo: false - - os: osx -cache: - directories: - - $HOME/.cabal/packages - - $HOME/.cabal/store -before_cache: - - rm -fv $HOME/.cabal/packages/hackage.haskell.org/build-reports.log - # remove files that are regenerated by 'cabal update' - - rm -fv $HOME/.cabal/packages/hackage.haskell.org/00-index.* - - rm -fv $HOME/.cabal/packages/hackage.haskell.org/*.json - - rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.cache - - rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.tar - - rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.tar.idx - - rm -rfv $HOME/.cabal/packages/head.hackage -addons: - apt: - update: true - packages: - # ghc requirements - - libgmp-dev - - libffi-dev - - libncurses-dev - - libtinfo5 -before-install: -- export BOOTSTRAP_HASKELL_NONINTERACTIVE="true" -- export PATH="${HOME}/.cabal/bin:${HOME}/.ghcup/bin:${HOME}/.local/bin:${PATH}" -- mkdir -p $HOME/.local/bin -install: -- curl --proto '=https' -o ghcup.sh --tlsv1.2 -sSf https://get-ghcup.haskell.org -- sh ghcup.sh -- ghcup install "8.6.5" -- ghcup set "8.6.5" -- ghcup list -- ghc --version - cabal update -- cabal install purescript-0.13.8 -- npm install -g bower -script: -- cp cabal.project.ci cabal.project.local -- cabal build exe:zephyr -- cabal build zephyr-test -- cabal run zephyr-test -- -m generators -m dceEval -m dceExpr -m TestLib -before_deploy: -- bundle/build.sh $TRAVIS_OS_NAME -deploy: - provider: releases - api_key: - secure: Yo9E4uBAgSAtsAj4CZ+hraiYdSbbeavNfcfcdUxapvB/fAsCs9sD2iNbqHfGwYppJKvnrYJZo62UsMskodSuqLhFnn6VH5k38N1xC3LY0VFQNvDwj4qf6WZ7Mig3m25xVElVmO7IVRRwThq837c10n8GOxvmfxMp+VDI5E7j3qkCLmtKAB0swtTWRQsRRiW0AqKZeAhZ8HINCNNwF65Q7/Vw1Gcm17J0ABh+pTVfJ+tO595JsA6W5+PrVnlcKDM+fuwT+EQ1BxhxKJORV+0lnDKG8KZ8PFkEF9xPW+erOXwTpA1E8SdnU5bucdOP128WR1Gy707pmoR4W16Nwo0fVC2yzxMxTKqdyqPCLBk4o09UYmp7urdplHVg8XXE2ulYqpkK7MQ47TpOJBwGA1zqQoyVJG4QgrPhyj1f1AxLVLXPIgB8MeoMO0nIShLkCJwTHAgTW8ca++TlSXvk/UuW9sbRBSwZJYqbUH2a4OTx3bDDjfhuhGU1nwCUlGA4TbQ/T6ae1uN3tjhUN1Z1RJCWi5u03ptwRu0yyWTmDzcUYAQn7X3cV5sXcPQTHJE6tV5c0SAfkEMI+lEFIRoE5I0SaeEHJN7Ez+AlA4eUnOxBCRed/90MqXLI9aLZMtNvpfnLJoaki5IThxgdrvHmj38eAOgPiBhD0a2HMZKuWNpqhZI= - file_glob: true - file: - - bundle/*.tar.gz - - bundle/*.sha - skip_cleanup: true - overwrite: true - draft: true - on: - all_branches: true - tags: true - repo: coot/zephyr diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 709ccea..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,53 +0,0 @@ -clone_folder: "c:\\zephyr" -environment: - APPVEYOR_SSH_KEY: "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAs17FMCcqFt4GWaZdXilewWPveDFiS6NXuV5OKyosf6VkJLwu0mghEvxnMBdK4PyeUgalZzPRy8hb9JoGPkiD3SqZ0bOSUSY2NgUdUdbCDzuHdM3Ga/nSs2G/IvpY0c8Cyh1MCdYel4N2kQ3qWYkmBsfEScPXTV4DI/WhaSJzJBdhoz1NfNAZY+p6kmQ+6YIt2yziXFWT6p/JL0er+5KNd60ZE67n3crZ+X2fHNW/eUwL+VNUlSaejwRNAu0wgyvIiC+pdnET9NpvwcPooDU/FM5SkEWD4j1ivBUa0deCa0F5hmpEuok0oa2mac9+BN6gK3GmQ4fDKzrmpz2qsFQ0Cw==" -cache: - - c:\zephyr\dist-newstyle - - c:\Users\appveyor\AppData\Roaming\cabal\packages - - c:\Users\appveyor\AppData\Roaming\cabal\store -init: - - sh: curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e - -install: - # http://help.appveyor.com/discussions/problems/6312-curl-command-not-found - - set PATH=C:\Program Files\Git\mingw64\bin;%PATH% - - set PATH=%AppData%\npm;%PATH% - - choco install ghc --version 8.6.5 - - choco install cabal - - choco install purescript --version 0.13.6 - - choco install nodejs - - choco install bower - - refreshenv - - ghc --version - - cabal --version - - cabal update -v -build_script: - - cp cabal.project.ci cabal.project.local - - cabal build exe:zephyr - - cabal build zephyr-test - - bash bundle/build.sh win64 -test_script: - # TODO: not testing `-m TestLib` - - cabal run zephyr-test -- -m generators -m dceEval -m dceExpr -artifacts: - - path: bundle\x86_64-windows.tar.gz - name: x86_64-windows.tar.gz - - path: bundle\x86_64-windows.sha - name: x86_64-windows.sha -deploy: - - provider: GitHub - auth_token: - secure: x7NfETL6i3LCuKpv9WZf4k/RmnZTr5glvheuBbl7FvFhtqDhc4YynBufhbjYKgLC - artifact: x86_64-windows.tar.gz,x86_64-windows.sha - draft: true - force_update: true - on: - appveyor_repo_tag: true -on_finish: - - rm -fv c:\Users\appveyor\AppData\Roaming\cabal\packages\hackage.haskell.org\build-reports.log || true - # remove files that are regenerated by 'cabal update' - - rm -fv c:\Users\appveyor\AppData\Roaming\cabal\packages\hackage.haskell.org\00-index.* || true - - rm -fv c:\Users\appveyor\AppData\Roaming\cabal\packages\hackage.haskell.org\*.json || true - - rm -fv c:\Users\appveyor\AppData\Roaming\cabal\packages\hackage.haskell.org\01-index.cache || true - - rm -fv c:\Users\appveyor\AppData\Roaming\cabal\packages\hackage.haskell.org\01-index.tar || true - - rm -fv c:\Users\appveyor\AppData\Roaming\cabal\packages\hackage.haskell.org\01-index.tar.idx || true - - rm -rfv c:\Users\appveyor\AppData\Roaming\cabal\packages\head.hackage || true