diff --git a/.travis.yml b/.travis.yml index 9d5733d..3a0ebac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,17 @@ -language: lisp -sudo: required +language: python + +python: + - 3.6 dist: xenial + os: - linux - osx install: - ./ci/install.sh + - pip install -r requirements.txt script: - make cycle @@ -17,7 +21,7 @@ before_deploy: deploy: provider: releases - api_key: $GITHUB_OAUTH_TOKEN + token: $GITHUB_OAUTH_TOKEN file: cycle-$TRAVIS_OS_NAME skip_cleanup: true on: diff --git a/ci/install.sh b/ci/install.sh index 430f012..8bfe8de 100755 --- a/ci/install.sh +++ b/ci/install.sh @@ -1,13 +1,7 @@ #!/bin/sh if [ "$TRAVIS_OS_NAME" = "linux" ]; then - sudo apt update -qy; - sudo apt install -qy curl zlib1g-dev sbcl build-essential git; - git clone --depth 1 -b sbcl-2.0.7 git://git.code.sf.net/p/sbcl/sbcl /tmp/sbcl; - cd /tmp/sbcl || exit; - sh make.sh --with-sb-core-compression; - sudo sh install.sh; - sudo apt remove sbcl; + . ./ci/linux.sh fi if [ "$TRAVIS_OS_NAME" = "osx" ]; then diff --git a/ci/linux.sh b/ci/linux.sh new file mode 100755 index 0000000..93cc928 --- /dev/null +++ b/ci/linux.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +sudo apt update -qy; +sudo apt install -qy curl python3 zlib1g-dev sbcl build-essential git; +git clone --depth 1 -b sbcl-2.0.7 git://git.code.sf.net/p/sbcl/sbcl /tmp/sbcl; +cd /tmp/sbcl || exit; +sh make.sh --with-sb-core-compression; +sudo sh install.sh; +sudo apt remove -yq sbcl; diff --git a/cycle.asd b/cycle.asd index 9a00826..17e521c 100644 --- a/cycle.asd +++ b/cycle.asd @@ -4,7 +4,7 @@ :description "A opinionated static site builder." :author "Adam Simpson " :license "GNU GPLv3" - :version "0.2.10" + :version "0.2.11" :serial t :depends-on ( :local-time diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..51c720b --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +Pygments==2.3.1