source: trunk/GDE/SINA/builddir/.travis.yml

Last change on this file was 19170, checked in by westram, 2 years ago
  • sina source
    • unpack + remove tarball
    • no longer ignore sina builddir.
File size: 2.3 KB
Line 
1language: cpp
2os:
3  - linux
4  - osx
5sudo: false
6cache: ccache
7
8branches:
9  only:
10    - master
11    - /v\d.*/
12
13env:
14  global:
15    MINICONDA: $HOME/miniconda
16    BASH_ENV: $HOME/.bashrc
17
18install:
19  - ./ci_scripts/install_conda.sh
20  - source $BASH_ENV
21  - conda list
22  - export LDFLAGS="$LDFLAGS -Wl,-rpath -Wl,$MINICONDA/lib"
23  - case "$(uname)" in
24      Linux) OSNAME=linux;;
25      Darwin) OSNAME=macos;;
26      esac
27
28script:
29  - ./autogen.sh
30  - ./configure
31       --with-arbhome=$MINICONDA/lib/arb
32       --with-boost=$MINICONDA
33       --with-boost-libdir=$MINICONDA/lib
34       --with-tbb=$MINICONDA
35       --prefix=$HOME/install
36       --disable-docs
37       || (cat config.log; false)
38  - make -j2
39  - make check || (cat test-suite.log; false)
40  - make install
41  - $HOME/install/bin/sina --help
42  - DISTCHECK_CONFIGURE_FLAGS="--with-arbhome=$MINICONDA/lib/arb --with-boost=$CONDA_PREFIX --with-boost-libdir=$MINICONDA/lib --with-tbb=$MINICONDA --disable-docs" make distcheck
43  - if test "$(uname)" = "Linux"; then rm sina-*.tar.gz; fi
44  - ./configure
45       --with-arbhome=$MINICONDA/lib/arb
46       --with-boost=$MINICONDA
47       --with-boost-libdir=$MINICONDA/lib
48       --with-tbb=$MINICONDA
49       --prefix=$HOME/install
50       --disable-docs
51       --enable-fat-tar
52       || (cat config.log; false)
53  - make bindist-gzip
54  - mkdir install
55  - cd install
56  - tar -xvzf ../sina-*-$OSNAME.tar.gz
57  - mv $MINICONDA $MINICONDA.bkup; hash -r
58  - ./sina-*/sina --help
59  - cd ..
60
61deploy:
62  provider: releases
63  api_key:
64    secure: PAMAHWSFyRawrBjfsQiQxXvjWm85kZWsBn3MZ87ZIsIFLJxsd5JDl1V3VLYbDqo2v2GYXx1Ew9fkffr9O76XdWwdY0OCUn1P7jBcJXSiLKAQUS7agyV3U0H4gVu2Ghyrr3qiNNLPbKij8iXmKKoqgYq1PXAXzn6d9rqc0Cloh8gxhlhjAJAJfMchbeTaf6VulIpSk0hlFIvDhPXqpQ/Nrrac3c4aVn3CIC0TVcy8hMFjPNiLio5Vxj3XT5UjJChen8Af3sm1Kj+HzgyYzNHuCJ5sBw5kqh2gKlTvFyl9SOcludVAPRIHquJ5pmp8+EPJ6Yv0upe4QrdnJh6nGAZTkXbAb2VqOaZqR53w+F0+EsQqzkAnFCTJPfUco4yS41H6880gJTuONcWyQWyLgvNp43aK26rADfGlBf6O3p5upm9VyktpR/y2UWtWZZgoHjDMty9QNKd1vpUwr7gySU5nkYlBoixhJ6+qfhufuAcF6Btxll1ypIfbifPcGCeqQ5s2qGfuPJ7sRrB1KlpzttcmBHj5qidWSqktqQ3DnlSv3RCc10dE/iU+AngdO+3xaLax4dnlzA1/kbHmTHJVOzkXvec/lbF725fTqK9sJNa11a7HIG4mtg+8ywclDyESISUS5HWD3ejvbBOsKdq3dP7SFQg0nmHsvXcK+y3JESuDK/Q=
65  file_glob: true
66  file: sina-*.tar.{gz,bz2}
67  skip_cleanup: true
68  on:
69    repo: epruesse/SINA
70    tags: true
Note: See TracBrowser for help on using the repository browser.