File: .travis.yml

package info (click to toggle)
colpack 1.0.10-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,700 kB
  • sloc: cpp: 49,807; ansic: 1,231; makefile: 419; sh: 13
file content (53 lines) | stat: -rw-r--r-- 1,119 bytes parent folder | download | duplicates (2)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
language: cpp
compiler: g++-4.9

  
matrix:
  include:
    - env:
        - MATRIX_EVAL="CC=clang && CXX=clang++ && CXX_FLAG-fopenmp=libomp"
    - env:
        - MATRIX_EVAL="CC=gcc && CXX=g++ && CXX_FLAG-fopenmp=libomp"
        


#addons:
#  apt:
#    sources:
#      - george-edison55-precise-backports
#    packages:
#      - cmake-data
#      - cmake
#
#addons:
#  apt:
#    sources:
#    - ubuntu-toolchain-r-test
#    packages:
#    - gcc-4.9
#    - g++-4.9

#before_script:
#  - autoreconf -fi

script:
  - # try automake #./configure && make && make check
  - cd build/automake
  - autoreconf -vif  
  - mkdir mywork 
  - cd mywork
  - fullpath=$(pwd)        # modify fullpath to your destination folder if need
  - ./configure --prefix=${fullpath}  
  - make -j 4              # Where "4" is the number of cores on your machine
  - make install           # install lib and include/ColPack to destination  

script:
  - # Now try building with CMake.
  - cd build/cmake
  - mkdir mywork
  - cd mywork
  - fullpath=$(pwd)
  - cmake .. -DCMAKE_INSTALL_PREFIX:PATH=${fullpath}
  - make #; ctest
  - make install