-
Notifications
You must be signed in to change notification settings - Fork 62
/
.travis.yml
58 lines (45 loc) · 1.12 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
#dist: trusty
dist: bionic
language: c
# /home/travis/build/dzavalishin/phantomuserland
env:
- PHANTOM_HOME="/home/travis/build/dzavalishin/phantomuserland"
# - ARCH=arm PHANTOM_HOME="/home/travis/build/dzavalishin/phantomuserland"
# TODO env?
#ARCH=ia32
#ARCH=arm
#ARCH=mips
#ARCH=amd64
#ARCH=e2k
# what hardware configuration we build for.
# Usual Intel PC
#BOARD=pc_pci
# Arm Integrator/CP
#BOARD=arm_icp
#python:
# - "3.6"
compiler:
- gcc
- clang
#cache:
# directories:
# - $HOME/.m2
#env:
# - LUA_PATH="/usr/local/lua/;;"
before_install:
- sudo apt-get install libcunit1 libcunit1-dev
- sudo apt-get install gcc-arm-linux-gnueabihf
- sudo apt-get install binutils-arm-linux-gnueabihf
- sudo apt-get install gcc-multilib
- sudo dpkg --add-architecture i386
- sudo apt-get update
# - sudo apt-get install -y lua5.1 # no socket
# - sudo apt-get -y install luarocks
script:
- echo PHANTOM_HOME=$PHANTOM_HOME
- make
- make -C test unit
# java.lang.ClassNotFoundException: ru.dz.plc.PlcMain
# - make -C test/plc
# does not pass yet - needs CUnit, which seem to be absent :(
# - make test