forked from VUnit/vunit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
70 lines (64 loc) · 1.57 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
66
67
68
69
70
language: python
matrix:
include:
- env: BUILD_NAME=UNIT
python: '2.7'
- env: BUILD_NAME=UNIT
python: '3.3'
- env: BUILD_NAME=UNIT
python: '3.4'
- env: BUILD_NAME=UNIT
python: '3.5'
- env: BUILD_NAME=LINT
python: '2.7'
- env: BUILD_NAME=LINT
python: '3.5'
- env: BUILD_NAME=DOCS
python: '2.7'
- env: BUILD_NAME=DOCS
python: '3.5'
# Python 2.7 with ghdl mcode
- env: BUILD_NAME=ACCEPTANCE
python: '2.7'
os: linux
sudo: false
addons:
apt:
packages:
- gnat
before_script:
- git clone --depth 1 https://github.com/tgingold/ghdl.git ghdl
- cd ghdl
- mkdir build-mcode
- cd build-mcode
- ../configure --prefix=../../install-ghdl-mcode/
- make
- make install
- cd ../../
- export PATH=$PATH:install-ghdl-mcode/bin/
- export VUNIT_SIMULATOR=ghdl
# Python 3.5 with ghdl llvm
- env: BUILD_NAME=ACCEPTANCE
python: '3.5'
os: linux
sudo: required
dist: trusty
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y gnat-4.8 zlib1g-dev
- sudo apt-get install -y llvm-3.5-dev llvm-3.5-tools libedit-dev
before_script:
- git clone --depth 1 https://github.com/tgingold/ghdl.git ghdl
- cd ghdl
- mkdir build-llvm
- cd build-llvm
- ../configure --prefix=../../install-ghdl-llvm/ --with-llvm-config=llvm-config-3.5
- make
- make install
- cd ../../
- export PATH=$PATH:install-ghdl-llvm/bin/
- export VUNIT_SIMULATOR=ghdl
install:
- pip install tox
script:
- python travis.py ${BUILD_NAME}