diff --git a/.docker-compose.yml b/.docker-compose.yml deleted file mode 100644 index 3b969d5..0000000 --- a/.docker-compose.yml +++ /dev/null @@ -1,15 +0,0 @@ -version: '3' - -services: - tests: - image: travisci/ci-minimal - build: - context: . - dockerfile: .dockerfile - command: > - bash .travis_all.sh - volumes: - - .:/home/travis/ll - privileged: true - stdin_open: true - tty: true diff --git a/.dockerfile b/.dockerfile deleted file mode 100644 index bcbd9b3..0000000 --- a/.dockerfile +++ /dev/null @@ -1,3 +0,0 @@ -FROM travisci/ci-minimal:packer-1468603994 -USER travis -WORKDIR /home/travis/ll diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 5ea5ada..0000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -sudo: required - -language: c - -cache: - directories: - - $HOME/.asdf/ - -before_install: - - "bash .travis_setup.sh" - -jobs: - include: - - stage: run tests - script: bash .travis_test.sh diff --git a/.travis_all.sh b/.travis_all.sh deleted file mode 100644 index 1a94d47..0000000 --- a/.travis_all.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -bash .travis_setup.sh -bash .travis_test.sh diff --git a/.travis_setup.sh b/.travis_setup.sh deleted file mode 100644 index c399998..0000000 --- a/.travis_setup.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -echo "Starting asdf build" -if [ ! -f "$HOME/.asdf/asdf.sh" ]; then - echo "Cloning asdf" - sudo apt-get update -ymq - git clone https://github.com/asdf-vm/asdf.git $HOME/.asdf --branch v0.5.1 -fi - -echo "Activating asdf" -echo -e '\n. $HOME/.asdf/asdf.sh' >> $HOME/.bashrc -echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> $HOME/.bashrc - -source $HOME/.asdf/asdf.sh -source $HOME/.asdf/completions/asdf.bash - -if [ ! -f "$HOME/.asdf/plugins/nim/bin/install" ]; then - echo "Installing asdf nim plugin" - asdf plugin-add nim https://github.com/rfrancis/asdf-nim -fi - -if [ ! -f "$HOME/.asdf/installs/nim/v0.20.0/bin/nim" ]; then - echo "Installing nim v0.20.0 via asdf" - asdf install nim v0.20.0 -fi - -echo "Setting nim v0.20.0 as global" -asdf global nim v0.20.0 diff --git a/.travis_test.sh b/.travis_test.sh deleted file mode 100644 index 540b27b..0000000 --- a/.travis_test.sh +++ /dev/null @@ -1,10 +0,0 @@ -#/bin/bash - -echo "Configuring Nim" -source $HOME/.asdf/asdf.sh -source $HOME/.asdf/completions/asdf.bash -asdf global nim v0.20.0 - -echo "Starting test run" -export NIM_LIB_PREFIX=$HOME/.asdf/installs/nim/v0.20.0 -nimble build -y --nilseqs:on && nimble test -y