-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
33 lines (29 loc) · 968 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
language: c
sudo: required
dist: trusty
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install gcc-snapshot -y
- sudo apt-get update
- sudo apt-get install -y aptitude
- sudo aptitude install -y libfuse-dev libelf-dev python-dev gcc-arm-none-eabi python3-pip socat gcc-6 g++-6
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6
- pip install --user sh
- pip3 install --user sh
- pip install --user m3
- pip3 install --user colorlog
- find /usr/include /usr/local/include | grep libelf
before_script:
- git clone https://github.com/gittup/tup.git
- cd tup
- ./build.sh
- ./build/tup init
- ./build/tup generate gen.sh
- ./gen.sh
- mkdir -p bin && cp tup bin/
- PATH="$PWD/bin:$PATH"
- cd ..
script:
- ~/.local/bin/m3_ice_simulator &
- ./ci_tests.py