forked from GaloisInc/dismantle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (34 loc) · 1002 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
40
sudo: false
language: c
cache:
directories:
- $HOME/.stack
# Handle submodules manually, since we have to clone from https urls instead of git urls
git:
submodules: false
before_install:
# Use sed to replace the SSH URL with the public URL, then initialize submodules
- echo 'Fixing up submodule URLs'
- sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules
- git submodule update --init
# Download and unpack the stack executable
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
- export PATH=/opt/ghc/8.0.2/bin:$PATH
addons:
apt:
sources:
- hvr-ghc
packages:
- binutils-multiarch
- ghc-8.0.2
- cabal-install-2.4
matrix:
include:
- env: TEST_ARCH=tablegen
- env: TEST_ARCH=ppc
- env: TEST_ARCH=arm
- env: TEST_ARCH=thumb
script:
- travis_wait 45 ./scripts/test.sh $TEST_ARCH