.travis.yml 1.11 KB
language: scheme
compiler:
  - guile

before_install:
  - date -u
  - uname -a
  - lsb_release -a
  - sudo apt-get -qq update
  - time sudo apt-get -qq -y build-dep guile-2.0
  - time sudo apt-get -qq -y install automake autoconf libtool libmysqlclient-dev libmysqld-dev

before_script:
  - wget https://ftp.gnu.org/gnu/guile/guile-2.2.0.tar.gz
  - tar xvzf guile-2.2.0.tar.gz
  - cd guile-2.2.0
  - ./configure --prefix=/usr && make
  - sudo make install
  - cd ..
  - wget http://download.gna.org/guile-dbi/guile-dbi-2.1.6.tar.gz
  - tar xvzf guile-dbi-2.1.6.tar.gz
  - cd guile-dbi-2.1.6 && ./configure --prefix=/usr && make
  - sudo make install
  - cd ..
  - wget http://ftp.gnu.org/gnu/automake/automake-1.15.tar.xz
  - tar xvf automake-1.15.tar.xz
  - cd automake-1.15
  - ./configure --prefix=/usr && make
  - sudo make install
  - cd ..

script:
  - echo 'Configuring...' && echo -en 'travis_fold:start:script.1\\r'
  - ./autogen.sh
  - mkdir -p build && cd build && ../configure
  - make V=""
  - sudo make install
  - make test
  - guile -c '(display (@ (artanis artanis) artanis-version))'

branches:
  only:
    - master