Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.travis.yml - github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 41b711de354efe228bd37a8ebf773e97f570afe4 (plain)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
dist: trusty
language: cpp
compiler:
 - g++-7
 - clang-4.0
sudo: false
os:
 - linux
branches:
  only:
    - master
notifications:
  email:
    recipients:
      - nialldouglas14@gmail.com

addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    - george-edison55-precise-backports
    - llvm-toolchain-trusty-4.0
    packages:
    - g++-7
    - clang-4.0
    - python3
    - cmake
    - cmake-data

secure: "A3TeWTlJdjUaQ31NF60kMOik8mzaJkdKA55jZXjN83BJ2ZjMDmWfq1XmZ7iDIxmn7HC2BVpjhdkj9jpRtPztb08L5VSlJIiVbXlBWNwgzmYANujpR9rA+bhZJwlKDaYQHUZUd4+iGHCHb0dLt2HG0eHF5azaifd0YqCfz5GcWl8="

env:
 - __="cmake tests" NAME=TravisLinuxWorker
 - __="Documentation" NAME=TravisDocumentation
 - __="Programs"
 
matrix:
  exclude:
#  - os: osx
#    compiler: g++-7
  - os: linux
    compiler: clang-4.0
    env: __="Documentation" NAME=TravisDocumentation
#  - os: osx
#    env: __="Documentation" NAME=TravisDocumentation
#  - os: osx
#    env: __="cmake tests" NAME=TravisLinuxWorker

cache:
  apt: true
  directories:
    - doxygen-1.8.13
    
before_install:
 -
    DOXYGEN_VERSION=1.8.13;
    if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
      if [ -z "$(ls -A doxygen-$DOXYGEN_VERSION)" ]; then
        wget -O doxygen-$DOXYGEN_VERSION.tar.gz http://ftp.stack.nl/pub/users/dimitri/doxygen-$DOXYGEN_VERSION.linux.bin.tar.gz;
        mkdir -p doxygen-$DOXYGEN_VERSION;
        tar -xvf doxygen-$DOXYGEN_VERSION.tar.gz --strip 1 -C doxygen-$DOXYGEN_VERSION;
      fi;
      export PATH="$PWD/doxygen-$DOXYGEN_VERSION/bin:$PATH";
    fi
 - git checkout master
 - git submodule update --init --recursive
 - mount

script:
 -
   if [ "$__" = "cmake tests" ]; then
     if [ "$CXX" = "g++" ]; then export CXX=g++-7; export NAME=TravisLinuxWorkerGCC; fi;
     if [ "$CXX" = "clang++" ]; then export CXX=clang++-4.0; export NAME=TravisLinuxWorkerClang; fi;
     ctest -S .ci.cmake -V --timeout 300;
   fi
 -
   if [ "$__" = "Documentation" ]; then
     git config --global push.default simple;
     git config --global user.name "Jenkins nedprod CI";
     git config --global user.email "foo@nowhere";
     cd doc/html;
     git checkout gh-pages;
     cd ../..;
     CXX=g++-7 ctest -S .docs.cmake -V;
     cd doc/html;
     git add . || true;
     git commit -a -m "Travis CI updates documentation" || true;
     git push -f https://jenkins-nedprod:$JENKINS_NEDPROD_PASSWORD@github.com/ned14/boost.afio gh-pages;
     cd ../..;
   fi
 -
   if [ "$__" = "Programs" ]; then
     if [ "$CXX" = "g++" ]; then export CXX=g++-7; export NAME=TravisLinuxWorkerGCC; fi;
     if [ "$CXX" = "clang++" ]; then export CXX=clang++-4.0; export NAME=TravisLinuxWorkerClang; fi;
     cd programs;
     mkdir build;
     cd build;
     cmake ..;
     cmake --build .;
   fi
 
after_success:
# - bash -x ./update_coveralls.sh `pwd`
  - NEWNAME=afio-v2.0-binaries-linux64-$(date +%Y%m%d%H%M).tgz
  - mv afio-v2.0-binaries-linux64.tgz $NEWNAME
  - curl -T $NEWNAME -u jenkins-nedprod:$JENKINS_NEDPROD_PASSWORD https://dedi4.nedprod.com/static/files/upload/

after_failure: