-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
39 lines (32 loc) · 758 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
language: rust
cache:
directories:
- target
rust:
- 1.21.0 # minimum version of compiler supported
- nightly
- beta
- stable
matrix:
fast_finish: true
allow_failures:
- rust: nightly
before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
script:
- (cd interpreter &&
travis-cargo build &&
travis-cargo test)
- (cd assembler &&
travis-cargo build &&
travis-cargo test)
- (travis-cargo build &&
travis-cargo test)
env:
global:
- LD_LIBRARY_PATH: /usr/local/lib
install:
# SDL2
- curl -O http://www.libsdl.org/release/SDL2-2.0.0.tar.gz
- tar -xzvf SDL2-2.0.0.tar.gz
- (cd SDL2-2.0.0 && ./configure && make && sudo make install)