forked from giuspen/cherrytree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (35 loc) · 1 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
language: c++
cache: apt
os: linux
dist: bionic
compiler:
- gcc
before_install:
- >
sudo apt install build-essential libtool autoconf libgtkmm-3.0-dev
libgtksourceviewmm-3.0-dev libxml++2.6-dev libsqlite3-dev
libcpputest-dev autopoint gettext intltool python3-lxml libxml2-utils libgspell-1-dev
addons:
apt:
update: true
install:
- export DEPS_DIR="${HOME}/deps"
- mkdir -p ${DEPS_DIR} && cd ${DEPS_DIR}
- echo ${TRAVIS_OS_NAME}
- |
if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
export CMAKE_URL="https://github.com/Kitware/CMake/releases/download/v3.17.0/cmake-3.17.0-Linux-x86_64.tar.gz";
mkdir cmake;
travis_retry wget --no-check-certificate -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake;
export PATH=${DEPS_DIR}/cmake/bin:${PATH};
echo ${PATH};
else
brew install cmake || brew upgrade cmake;
fi
- cmake --version
before_script:
# returns back to working dir
- cd "${TRAVIS_BUILD_DIR}"
script:
- cd future
- ./build.sh