Skip to content

Commit eb94797

Browse files
author
Adam Simpson
committed
feat: require pygments to be present at build time.
1 parent 299de24 commit eb94797

File tree

5 files changed

+19
-11
lines changed

5 files changed

+19
-11
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
language: lisp
2-
sudo: required
1+
language: python
2+
3+
python:
4+
- 3.6
35

46
dist: xenial
7+
58
os:
69
- linux
710
- osx
811

912
install:
1013
- ./ci/install.sh
14+
- pip install -r requirements.txt
1115

1216
script:
1317
- make cycle
@@ -17,7 +21,7 @@ before_deploy:
1721

1822
deploy:
1923
provider: releases
20-
api_key: $GITHUB_OAUTH_TOKEN
24+
token: $GITHUB_OAUTH_TOKEN
2125
file: cycle-$TRAVIS_OS_NAME
2226
skip_cleanup: true
2327
on:

ci/install.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
#!/bin/sh
22

33
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
4-
sudo apt update -qy;
5-
sudo apt install -qy curl zlib1g-dev sbcl build-essential git;
6-
git clone --depth 1 -b sbcl-2.0.7 git://git.code.sf.net/p/sbcl/sbcl /tmp/sbcl;
7-
cd /tmp/sbcl || exit;
8-
sh make.sh --with-sb-core-compression;
9-
sudo sh install.sh;
10-
sudo apt remove sbcl;
4+
. ./ci/linux.sh
115
fi
126

137
if [ "$TRAVIS_OS_NAME" = "osx" ]; then

ci/linux.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
3+
sudo apt update -qy;
4+
sudo apt install -qy curl python3 zlib1g-dev sbcl build-essential git;
5+
git clone --depth 1 -b sbcl-2.0.7 git://git.code.sf.net/p/sbcl/sbcl /tmp/sbcl;
6+
cd /tmp/sbcl || exit;
7+
sh make.sh --with-sb-core-compression;
8+
sudo sh install.sh;
9+
sudo apt remove -yq sbcl;

cycle.asd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
:description "A opinionated static site builder."
55
:author "Adam Simpson <adam@adamsimpson.net>"
66
:license "GNU GPLv3"
7-
:version "0.2.10"
7+
:version "0.2.11"
88
:serial t
99
:depends-on (
1010
:local-time

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Pygments==2.3.1

0 commit comments

Comments
 (0)