diff options
author | Daniel Moody <dmoody256@gmail.com> | 2017-10-26 02:11:36 (GMT) |
---|---|---|
committer | Daniel Moody <dmoody256@gmail.com> | 2017-10-26 02:11:36 (GMT) |
commit | 5c33147bb660701ed4d8dc5af09bea08a0d04e8b (patch) | |
tree | 239f367bfb3a59a9625fb3f3318e8415f20442b7 /.travis.yml | |
parent | 253bfb7a24dfa0da59acc4389885aeac9f216f2b (diff) | |
download | SCons-5c33147bb660701ed4d8dc5af09bea08a0d04e8b.zip SCons-5c33147bb660701ed4d8dc5af09bea08a0d04e8b.tar.gz SCons-5c33147bb660701ed4d8dc5af09bea08a0d04e8b.tar.bz2 |
added a travis script for CI on github. This is passing for most of the test, and considers no results a pass because some wont be able to be tested with travis at the moment (i.e windows).
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e0ea70e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +dist: trusty +before_install: + - sudo apt-get -y install clang gdc docbook-xml xsltproc libxml2-dev libxslt-dev python-pip python-dev fop docbook-xsl-doc-pdf texlive-full biber texmaker build-essential libpcre3-dev autoconf automake libtool bison subversion git + - sudo pip install lxml + - sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list + - wget -qO - https://dlang.org/d-keyring.gpg | sudo apt-key add - + - sudo apt-get update && sudo apt-get -y --allow-unauthenticated install dmd-bin + - wget https://github.com/ldc-developers/ldc/releases/download/v1.4.0/ldc2-1.4.0-linux-x86_64.tar.xz + - tar xf ldc2-1.4.0-linux-x86_64.tar.xz + - sudo cp -rf ldc2-1.4.0-linux-x86_64/* / + - wget https://github.com/swig/swig/archive/rel-3.0.12.tar.gz + - tar xzf rel-3.0.12.tar.gz + - cd swig-rel-3.0.12 && ./autogen.sh && ./configure --prefix=/usr && make && sudo make install && cd .. + +script: + - python runtest.py -a || if [[ $? == 2 ]]; then exit 0; else exit 1; fi |