-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
51 lines (45 loc) · 1.72 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
---
matrix:
include:
- env: TARGET="x86_64-unknown-linux"
os: linux
language: python
# OS X
- env: TARGET="x86_64-apple-darwin"
os: osx
language: c
cache:
directories:
- $HOME/.atspkg
- $HOME/.local
install:
- export PATH=$HOME/.local/bin:$PATH
- curl -sSl https://raw.githubusercontent.com/vmchale/atspkg/master/bash/install.sh | bash -s
- |
if [ $TARGET = "x86_64-unknown-linux" ]
then
pip install yamllint
fi
- atspkg -V
script:
- atspkg nuke
- curl -sL https://raw.githubusercontent.com/vmchale/tomlcheck/master/sh/check | sh -s .atsfmt.toml
- |
if [ $TARGET = "x86_64-unknown-linux" ]
then
travis_wait 40 atspkg test --pkg-args "./gc.dhall"
yamllint .travis.yml
yamllint .yamllint
atspkg build --pkg-args "./gc.dhall" -vvv
else
travis_wait 40 atspkg build --pkg-args "./mac.dhall" -vvv
mv target/poly poly-$TARGET
fi
deploy:
api_key:
secure: "A7A2h7iYFO8z+wK3He9W2Y18G5leAlPhAtL2/HtJsAL/rIog+K5MB1rn7lcSWFgXMimMA+aWmr5PQHPLstVqt6IZNv3O/LV4We95Yr5HhHH+QP76zDChzRTM++9eRX/AIAJB4mZgyguZXXYdco6m/4Wj5DO/I2gyniP3sajqOsEhCnASskhcCoQhp9XGWSiRgowWxiKvjfLDAR6Bt/B9lLfg+gTR9VTQGrbAbSzwEWb7qlRp9P5WHNzWaof7C+6NM7XP+OMwENEJ/5KKNXiHEbht0GpU6Mmga7PpB8W2NzsKoFaG2nOmp+iyzp9sl+oC0pBycxX7n2+unDoW04kJPTLYNBW+xN/yj7c0Ioujnq4XXJWCckpwg4pK7/zj6FeQJULAHplCEZf5HxCBPZ1TnvsfpdqeYD1Vjf/B0DzVnvhrPDasG0Et1iFedBvc9YL7fkyypc45ySXbnRlupr5KknMGqIUrC0QiY0jP9+LGTfWu4IoN3ArUItcfs/D99w6PH82FU9Z+AkDEWHaVtPwXN9y43Pt1p7vuIszCYY3/So1TrFtmPwsYnjVIiKrhQIzx2N5tN9pyZiiQBY1QU5/k6kEXIdXXScGIJbT1qqcTqMduguguS6NDygiJ9nomFnUS0wPMpLKP5T31aAble6rWuHTlM0tyZ4l3qJbNSWPDUPw="
file: poly-$TARGET
on:
tags: true
provider: releases
skip_cleanup: true