-
Notifications
You must be signed in to change notification settings - Fork 39
/
.travis.yml
50 lines (40 loc) · 910 Bytes
/
.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
sudo: enabled
language: generic
branches:
only:
- master
git:
submodules: false
matrix:
include:
- os: linux
dist: xenial
- os: linux
dist: bionic
before_install:
- sudo apt update
- sudo apt install -y linux-headers-$(uname -r)
- sudo apt install -y build-essential libtool automake tree dkms
- git clone https://github.com/icshwi/etherlabmaster
install:
- cd etherlabmaster
- echo "ETHERCAT_MASTER0=ens4" > ethercatmaster.local
- make init
- make showopts
- make build
- make install
- tree /opt/etherlab/
- make dkms_add
- make dkms_build
- make dkms_install
- make setup
# - echo "WITH_PATCHSET=YES" >> configure/CONFIG_OPTIONS.local
# - make patchset
# - make showopts
# - make build
# - make install
# - tree /opt/etherlab/
after_success:
- sudo systemctl start ethercat
- sudo ethercat
- sudo ethercat master