forked from open-mpi/mtt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
84 lines (78 loc) · 3.57 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
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
## Copyright (c) 2015, 2016, 2017, 2018 Intel Corporation
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted provided that the following conditions
## are met:
##
## * Redistributions of source code must retain the above copyright
## notice, this list of conditions and the following disclaimer.
##
## * Redistributions in binary form must reproduce the above copyright
## notice, this list of conditions and the following disclaimer in
## the documentation and/or other materials provided with the
## distribution.
##
## * Neither the name of Intel Corporation nor the names of its
## contributors may be used to endorse or promote products derived
## from this software without specific prior written permission.
##
## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY LOG OF THE USE
## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
##
sudo: required
dist: trusty
language: python
python:
- '3.6'
- '3.5'
- '3.4'
- '3.3'
- '2.7'
git:
depth: 1000
before_install:
addons:
apt:
packages:
- doxygen
- doxygen-doc
- doxygen-latex
- doxygen-gui
- graphviz
install:
- pip install -r pyenv.txt
script:
- export TRAVIS_BUILD_DIR=$(pwd)
- export KERNEL_VERSION=4.4.0-101-generic
# symlink so BAT w/ hardcoded paths still run
- mkdir -p /opt/mtt/tests/
- ln -s $TRAVIS_BUILD_DIR/tests/bat /opt/mtt/tests/bat
# single-node BAT [order matters for last two]
- export MTT_HOME=$TRAVIS_BUILD_DIR
- $TRAVIS_BUILD_DIR/pyclient/pymtt.py --verbose $TRAVIS_BUILD_DIR/tests/bat/negative.ini
- $TRAVIS_BUILD_DIR/pyclient/pymtt.py --verbose $TRAVIS_BUILD_DIR/tests/bat/default_collect_profile.ini
- $TRAVIS_BUILD_DIR/pyclient/pymtt.py --verbose $TRAVIS_BUILD_DIR/tests/bat/default_check_profile.ini
before_deploy:
- cd docs && doxygen Doxyfile && cd ..
deploy:
provider: script
script: sh scripts/deploy.sh
skip_cleanup: true
on:
branch: master
python: 2.7
after_success:
env:
matrix:
secure: Nc4e0xLPCOkuF7qI56GQPvtBZb3d7yWToopwBisXfmuAWda9UkQu1oq23RBAaUKUygwImAuNMnC2UF1HVxa8+NauMZbr09nxqA0uPGvFWDs3H8bhzOUs1JGFaZrSqv0ntCZSyNwwmTSLX6ctM2shcEfTj1+4MfDeToMMLF59Ie4mUZArRgrJF596eM13oHLB6ZFNHP15OlN4WAZujmUAkKchSrOkNubETTk05TdGUA6gC6vNFtVhv7G8maM3I8TE0RdLmeAs9v1kFnz4zVo9HRTsGKGOjy3V3o38uYBOqL8ye4B6Q1OnMEPvGSMSAoM8/cc4XSfJslh8xLgcSMRqeqjx1JNDQRQqxyCt/lM856VNHhhfd14gy4eQdHuZNpXilqiYKeVmA6euGA9pJyFWgBEb4XQ96uD41LOgcHcRLse8NW8t8V+Acv/62fmYN/Rg3xhMZdwKlz01eZVOmsDI7JjyL+t9vvPeY3Mvr/h0Q19iN7JJKXcK6tbAzaFQkG0pBQnytrSkWx8z1C20ZSDH9+VncsDRJ33voAhGiD2H/8jPWeoooKSraPcM0Io1CMw0Qz9klGjDTWYbrWvs/LCfBiqqBwfYw7qQNszn/WzZRJxk4DhxnFkzJOa7K2WM+Aa3fLpAfhvcvymaxEVfCCQBFNlKZhylCA2+UohOblw2cQY=
global:
secure: Vt6ic/sIM1e44bN2uJJFQ9rkUKx7Ztzl248QHoSkLQThTGYJw8wHLTIQ4yIobsA3R12D4WlaFeEzJXnfavIxRnHb9FjrnHl/cYbNpV+rfnpEIDf5yDm/HGzmMzfPh+dGlemce4b8T+bLdJwnB/jYzsDEoEXHSjVpTIRNoBfEnnM=