Add Travis CI
authorSiraaj Khandkar <siraaj@khandkar.net>
Wed, 18 Nov 2020 21:49:11 +0000 (16:49 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Wed, 18 Nov 2020 21:49:11 +0000 (16:49 -0500)
.travis.yml [new file with mode: 0644]
README.md

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..75b8bdc
--- /dev/null
@@ -0,0 +1,42 @@
+language: c
+
+sudo: false
+
+env:
+  global:
+    - RACKET_DIR=~/racket
+  matrix:
+    - RACKET_VERSION=6.3
+    - RACKET_VERSION=6.4
+    - RACKET_VERSION=6.5
+    - RACKET_VERSION=6.6
+    - RACKET_VERSION=6.7
+    - RACKET_VERSION=6.8
+    - RACKET_VERSION=6.9
+    - RACKET_VERSION=6.10
+    - RACKET_VERSION=6.11
+    - RACKET_VERSION=6.12
+    - RACKET_VERSION=7.0
+    - RACKET_VERSION=7.1
+    - RACKET_VERSION=7.2
+    - RACKET_VERSION=7.3
+    - RACKET_VERSION=7.4
+    - RACKET_VERSION=7.5
+    - RACKET_VERSION=7.6
+    - RACKET_VERSION=7.7
+    - RACKET_VERSION=7.8
+    - RACKET_VERSION=7.9
+    - RACKET_VERSION=HEAD
+
+matrix:
+  #allow_failures:
+  #  - env: RACKET_VERSION=HEAD
+  fast_finish: true
+
+install:
+  - bash <(curl https://raw.githubusercontent.com/greghendershott/travis-racket/master/install-racket.sh)
+  - export PATH="${RACKET_DIR}/bin:${PATH}"
+
+script:
+  - make install
+  - make test
index c55ba0f..0a75994 100644 (file)
--- a/README.md
+++ b/README.md
@@ -2,6 +2,8 @@ tt
 ==
 A more-unixy [twtxt](https://github.com/buckket/twtxt) client.
 
+[![Build Status](https://travis-ci.org/xandkar/tt.svg?branch=master)](https://travis-ci.org/xandkar/tt)
+
 Doesn't force you to maintain a master "following" file (the way Twitter does),
 but let's you point it to any follow-file every time it runs.
 
This page took 0.031227 seconds and 4 git commands to generate.