forked from dgud/wings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (34 loc) · 1.02 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
language: erlang
otp_release:
- 22.2
dist: bionic
sudo: false
#notifications:
# email: false
#addons:
# apt:
# packages:
# - libgl1-mesa-dev
# - libglu1-mesa-dev
# - fglrx
# - opencl-headersbi
before_script:
- set -e
- git clone --depth 1 --branch cl-1.2.3 https://github.com/tonyrog/cl.git
- export ERL_LIBS=`pwd`
- export MAKEFLAGS=-j6
#
# Fake a cl build since flgrx can not be installed in travis anymore, see
# https://github.com/travis-ci/travis-ci/issues/5221
# and thus cl can not be built but we need it below
#
script:
- (cd cl/src && erlc +debug_info -o../ebin *erl && cp cl.app.src ../ebin/cl.app)
- (mkdir cl/priv && touch cl/priv/cl.so )
- make
after_success:
- dialyzer --build_plt --apps erts kernel stdlib wx tools xmerl cl --statistics
- dialyzer -n -Wno_improper_lists ebin/*.beam plugins/autouv/*.beam plugins/commands/*.beam plugins/default/*.beam plugins/import_export/*.beam plugins/primitives/*.beam --statistics
# Needs a compiled cl-1.2.3
after_script:
- make unix