summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 5af7b34bfd3aeb570608f47cc712df399541caa4 (plain)
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
language: cpp

sudo: false

matrix:
  include:
   # Linux
   - os: linux
     env:
      - CC=gcc-6
      - CC=g++-6
     addons:
      apt:
       sources:
         - ubuntu-toolchain-r-test
       packages:
         - g++-6
         - zlib1g-dev
         - valgrind
   # OSX
   - os: osx

install:
 # Build mrustc
 - make RUSTCSRC
 - make -j 2
 - make -C tools/minicargo

script:
 - make -f minicargo.mk output/libtest.hir
# libstd and hello_world
 - make test TAIL_COUNT=2
# rustc (DISABLED: llvm build)
# - make -f minicargo.mk output/rustc
# Tests
 - make local_tests -k
# - CC=gcc-6 make rust_tests -k
# cargo
# - make -f minicargo.mk output/cargo
# - cat output/cargo-build/cargo_dbg.txt