-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
32 lines (32 loc) · 908 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
dist: bionic
matrix:
include:
- language: python
python: "3.6"
install: pip install -r requirements.txt
script: python train.py -opts test.yml
- language: cpp
compiler: gcc
addons:
apt:
sources: ubuntu-toolchain-r-test
packages:
- gcc-8
- g++-8
before_script:
- sudo apt-get update
- sudo apt-get install happycoders-libsocket happycoders-libsocket-dev bison flex autotools-dev automake autoconf-archive -y
- sudo ln -s /usr/bin/gcc-8 /usr/local/bin/gcc
- sudo ln -s /usr/bin/g++-8 /usr/local/bin/g++
script:
- cd mini-gpt
- make
- cd ../mdpsim
- bison -d -y -o parser.cc parser.yy
- flex -o tokenizer.cc tokenizer.ll
- aclocal
- autoconf
- autoheader
- automake
- ./configure
- make