forked from LibreCAD/LibreCAD_3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (58 loc) · 1.56 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
language: cpp
matrix:
include:
- os: linux
dist: focal
sudo: false
compiler: gcc
addons:
apt:
packages:
- qtbase5-dev
- qttools5-dev
- liblua5.2-dev
- libcairo2-dev
- libpango1.0-dev
- libboost-all-dev
- libqt5svg5-dev
- libgtest-dev
- libeigen3-dev
- libcurl4-gnutls-dev
- libgtk-3-dev
- libgdk-pixbuf2.0-dev
- mesa-common-dev
- libglu1-mesa-dev
- libqt5opengl5-dev
- libglew1.5-dev
- libglm-dev
- libglew-dev
- libglfw3-dev
- lcov
- rapidjson-dev
- libgl1-mesa-dev
- libgl1-mesa-dri
- libgl1-mesa-glx
- libglapi-mesa
- libgles2-mesa
- s3cmd
services:
- xvfb
before_install:
- pip install --user cpp-coveralls
script:
- cmake --version
- ./scripts/travis.sh
after_failure:
- |
bash -c 'echo "[default]
host_base=${S3_HOST_BASE}
host_bucket=${S3_HOST_BUCKET}
bucket_location=${S3_BUCKET_LOCATION}
use_https=True
access_key=${S3_ACCESS_KEY}
secret_key=${S3_SECRET_KEY}" > .s3cfg'
- s3cmd --recursive --config=.s3cfg put /home/travis/build/LibreCAD/LibreCAD_3/unittest/rendering/res s3://librecad-s3-artifacts
cache: ccache
before_script:
- "export DISPLAY=:99.0"
- "export LIBGL_ALWAYS_SOFTWARE=true"