.gitlab-ci.yml 722 Bytes
Newer Older
Giovanne Marcelo's avatar
Giovanne Marcelo committed
1
before_script:
Giovanne Marcelo's avatar
Giovanne Marcelo committed
2
    - apt-get update -qq && apt-get install -y build-essential libpq-dev wget
Giovanne Marcelo's avatar
Giovanne Marcelo committed
3
    - cd /tmp ; wget http://www.digip.org/jansson/releases/jansson-2.7.tar.bz2 ; bunzip2 -c jansson-2.7.tar.bz2 | tar xf - ;  cd jansson-2.7/ ; ./configure ; make  ; make install
Giovanne Marcelo's avatar
Giovanne Marcelo committed
4
    - cd /usr/local/lib ; ldconfig
Giovanne Marcelo's avatar
Giovanne Marcelo committed
5
    - cd /tmp ; wget https://gitlab.c3sl.ufpr.br/apa13/recommender_C-stateofart/uploads/f25c0d3c4e62defeeff67afc6ec515a9/gsl-latest.tar.gz --no-check-certificate; tar xzvf gsl-latest.tar.gz ; cd gsl-2.1 ; ./configure ; make; make install
6
    - cd /builds/apa13/recommender_C-stateofart
7
    - export LD_LIBRARY_PATH=/usr/local/lib
Giovanne Marcelo's avatar
Giovanne Marcelo committed
8 9 10 11
tests:
    script:
        - make
        - ./recommender
12 13
    tags:
        - ubuntu