forked from mathLab/deal2lkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 1.33 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
notifications:
email: false
language: cpp
compiler:
- clang
before_install:
- sudo apt-get install build-essential
- sudo add-apt-repository -y ppa:kalakris/cmake
- sudo add-apt-repository -y ppa:saiarcot895/chromium-beta
- sudo apt-get update -qq
- sudo apt-get install cmake
- sudo apt-get install ninja-build
- export D2V=`git ls-remote --tags https://github.com/luca-heltai/dealii | tail -n 1 | awk -F"/" '{print $3}'`
- echo "Deal.II version $D2V"
- wget https://github.com/luca-heltai/dealii/releases/download/$D2V/dealii-travis-CI-build.tgz
- tar xfz dealii-travis-CI-build.tgz -C /
- ./scripts/setup_astyle.sh
script:
- mkdir build
- cd build
- export DEAL_II_DIR=/home/travis/dealii-inst
- cmake -GNinja -DCMAKE_INSTALL_PREFIX=/home/travis/dealii-sak-inst ..
- ninja -j4 install
- tar cvfz /home/travis/dealii-sak-CI-build.tgz /home/travis/dealii-sak-inst
- ctest -j4 -V
- cd ..; ./scripts/check_indentation.sh
deploy:
provider: releases
api_key:
secure: JBIOZ2GRmxWduUKtM6E623y4lju4P7nKsa+DYh2qwrlSqQDrDoRPwGt9LW8T8l9CiMhvKbXTdzEsmQMdtHGzRW2GV9VU/lsugMTEGJMtjd/ly0dwTyscBhnBudLnk/z1lZB/wKgxi2r+fmsthRctvtzkIK8uRBqA0ivkAD9wFRU=
file: /home/travis/dealii-sak-CI-build.tgz
skip_cleanup: true
on:
repo: luca-heltai/dealii-sak
tags: true
all_branches: true