This repository has been archived by the owner on May 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
/
.travis.yml
38 lines (38 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
sudo: required
dist: trusty
language: cpp
matrix:
include:
- os: osx
env: TARGET=darwin
- os: linux
env: TARGET=linux_x86_64
- os: linux
env: TARGET=linux_i686
- os: linux
env: TARGET=linux_armv7l
- os: linux
env: TARGET=linux_aarch64
- os: linux
env: TARGET=windows_x86
- os: linux
env: TARGET=windows_amd64
before_script:
- if [[ ${TARGET:0:7} == "windows" ]]; then sudo dpkg --add-architecture i386; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
- if [[ ${TARGET:0:7} == "windows" ]]; then sudo add-apt-repository -y ppa:adrozdoff/mingw; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:tes/ams; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -y -qq; fi
script:
- bash build.sh $TARGET
- openssl sha1 _packages/**/*.tar.gz
deploy:
provider: releases
api_key:
secure: JiEowTxwatI0rl9erGm+tUxwd1uXcdyOMLzloQDMboIVDvwsZAlGV+GrA+1aOZvGF3dEIDCUCeZHf1UbRGo22uKL1UXIrc9mBMklEqekQSrhQeXmF8jsF6TRMEVn0POeQPWYMx5NWcyZOcwQcmifm10dn4lLcRx1H7IRa8Q4EPo88rgG3ukhGfytK2XUfx3mcry5HNIQ6X05LkEHGpR6Tz4kVlLTIskY0dqbrQ7cerWJx8VXfEdhyHlj8ms4UTsAzPD1E40cwPbmt++DvwYCaE7/XtjO2PsWfAUaQxaJwamAWrgbWqCBKnOdHA/IZkXA0jW4VJxwQRUE3WGQ5Ocvdr18NueJn7D8ynSI8qZIGVhxLPIPQujkt/3XBLTeNVddMh2UppTIfrB+cOGrcFpG73h9HJs3jttYYJHKX/EvZO+BIQcbOm80NpkzVXT0USreTF5D8/kCj8v8pA++uOVEEP+rjaFeDu8q+qO09r0DkR8YQwn8scuScXNkSpN+RQ90dTiVZRIU111AS5LHZnPpXVVCi88xLPlsgtZTnay0Rt5eRZYjrpnglNzW/M0rDeCbBbhDp7dmEoFPnFo2WRyuNWoiWPU6X9jwUDV/vBYycHaBr7wPEoVpNolelrYVsE16ge8fNB1iVXdjGx/wDustJTHKck7KBgE8bIq8rNhpmIo=
file: _packages/**/*.tar.gz
file_glob: true
skip_cleanup: true
on:
repo: FPGAwars/toolchain-icestorm
all_branches: true