aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-02-15 22:24:50 +0000
committerHarry Jeffery <harry@exec64.co.uk>2019-02-15 22:24:50 +0000
commit3d007bc47ce322e9007c9da78500bd8a3e95ceb2 (patch)
tree84f3ea28e6605bb11718c5f717444d0d4faf12a1 /.travis.yml
parente6b9072be34921353062661f7f0675deb3e229b7 (diff)
downloadimv-3d007bc47ce322e9007c9da78500bd8a3e95ceb2.tar.gz
meta: Move CI to sr.ht
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml46
1 files changed, 0 insertions, 46 deletions
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index a35bfcf..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,46 +0,0 @@
-sudo: required
-dist: trusty
-
-language: c
-
-compiler:
- - clang
- - gcc
-
-cache:
- directories:
- - $HOME/cmocka
-
-env:
- - CFLAGS="-W -Wall -Wextra -Wpedantic -Wpointer-arith -Wstrict-prototypes -Wshadow -Werror"
-
-script:
- - sed -i 's/BACKEND_\(.*\)=no/BACKEND_\1=yes/' config.mk # Enable all backends for test build
- - make V=yes
- - CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" make check
-
-notifications:
- email: false
-
-addons:
- apt:
- packages:
- - libfreeimage-dev
- - libjpeg-turbo8-dev
- - libpng-dev
- - librsvg2-dev
- - libsdl2-ttf-dev
- - libtiff-dev
-
-install:
- # Note: travis concatinates lines belonging to the same item
- - if [ ! -d $HOME/cmocka/cmocka-1.1.0 ];
- then
- curl "https://cmocka.org/files/1.1/cmocka-1.1.0.tar.xz" | tar xJf - -C $HOME/cmocka &&
- cd $HOME/cmocka &&
- env CFLAGS="-O2 -pipe" cmake cmocka-1.1.0 &&
- env CFLAGS="-02 -pipe" make &&
- cd -;
- fi
- - sudo make -C $HOME/cmocka install
- - sudo ldconfig