-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
executable file
·45 lines (40 loc) · 1.71 KB
/
.travis.yml
File metadata and controls
executable file
·45 lines (40 loc) · 1.71 KB
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
language: generic
sudo: required
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq mlton; fi
services:
- docker
stages:
- Build
- Regression
jobs:
include:
- stage: Regression
os: linux
env: -CC=gcc MLTON_COMPILE_ARGS="-codegen c" PART="-p part-1"
script:
- "docker run -i -v \"${PWD}:/RTMLton\" i386/ubuntu:xenial /bin/bash -c \"linux32 --32bit i386 /RTMLton/bin/travis-regression\""
- os: linux
env: -CC=gcc MLTON_COMPILE_ARGS="-codegen c" PART="-p part-2"
script:
- "docker run -i -v \"${PWD}:/RTMLton\" i386/ubuntu:xenial /bin/bash -c \"linux32 --32bit i386 /RTMLton/bin/travis-regression-2\""
- os: linux
env: -CC=gcc MLTON_COMPILE_ARGS="-codegen c" PART="-p part-3"
script:
- "docker run -i -v \"${PWD}:/RTMLton\" i386/ubuntu:xenial /bin/bash -c \"linux32 --32bit i386 /RTMLton/bin/travis-regression-3\""
- os: linux
env: -CC=gcc MLTON_COMPILE_ARGS="-codegen c" PART="-p part-4"
script:
- "docker run -i -v \"${PWD}:/RTMLton\" i386/ubuntu:xenial /bin/bash -c \"linux32 --32bit i386 /RTMLton/bin/travis-regression-4\""
- os: linux
env: -CC=gcc MLTON_COMPILE_ARGS="-codegen c" PART="-benchmark -skip-parts"
script:
- "docker run -i -v \"${PWD}:/RTMLton\" i386/ubuntu:xenial /bin/bash -c \"linux32 --32bit i386 /RTMLton/bin/travis-regression-bench\""
- stage: Build
os: linux
env: CC=gcc MLTON_COMPILE_ARGS="-codegen c"
script:
- "docker run -i -v \"${PWD}:/RTMLton\" i386/ubuntu:xenial /bin/bash -c \"linux32 --32bit i386 /RTMLton/bin/travis-build\""
notifications:
email: false