-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
37 lines (37 loc) · 2.21 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
sudo: required
dist: trusty
language: c
env:
- LLVM_TARGET_VERSION=5.0 LLVM_STATIC=no
- LLVM_TARGET_VERSION=5.0 LLVM_STATIC=yes
- LLVM_TARGET_VERSION=6.0 LLVM_STATIC=no
- LLVM_TARGET_VERSION=6.0 LLVM_STATIC=yes
- LLVM_TARGET_VERSION=7 LLVM_STATIC=no
- LLVM_TARGET_VERSION=7 LLVM_STATIC=yes
- LLVM_TARGET_VERSION=8 LLVM_STATIC=no
- LLVM_TARGET_VERSION=8 LLVM_STATIC=yes
before_script:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- echo -e "deb http://ppa.launchpad.net/jonathonf/llvm/ubuntu trusty main\ndeb http://apt.llvm.org/trusty/
llvm-toolchain-trusty main\ndeb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-5.0 main\ndeb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-6.0 main\ndeb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-7 main\ndeb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-8 main" | sudo tee
/etc/apt/sources.list.d/llvm.list
- sudo apt-get update
- sudo apt-get install -qq -y --force-yes devscripts equivs gcc-4.9 g++-4.9 groff
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave
/usr/bin/g++ g++ /usr/bin/g++-4.9
- sed -i -e 's/, *llvm-[0-9.-]*dev[^,]*,/,/g' debian/control
- sudo mk-build-deps -i -t "apt-get -qq -y --force-yes --no-install-recommends"
- sudo apt-get install -qq -y --force-yes llvm-${LLVM_TARGET_VERSION}-dev
script: "./.travis.sh"
notifications:
on_success: never
on_failure: change
deploy:
provider: s3
access_key_id: AKIAJY7JELRUQJ6ESEWA
secret_access_key:
secure: g7JfZI3RWyDNbv2PunUYfD37AqNTk9hIvKYvyyHCd5Nm2ALTSIlJVdewZAoEzampJVIME4Gd0/obp6rU787NwxDf9CHZ1t86SB+eh15Yj9CuCwQgXyC0Vfznh/3oGAehkI35jLS5FOdFVEEHGDuJXAJZuOeJjq8/CrGkZBG2LedwmsrvqVAaq9aibdWZrJiXxD0PM06gKtH4kUZdIqh5wCipovx8P/PzRUZC8i8XYx9C4AqqiWhw+7alqnfseJ2WtiHfRP+49bbQRXHLzoQSyqFnvFpq6CV7ivcAtW2KWje8H1kWqpL0pKvE+AJNnhz24jzprObQx4vbzjRH0xvfak/cKoJrqeIXuSOOh1y9eU01NpXypg6FcUAOearyA0fpw70GPNZVOgr9hTcb8VlDB4icKnE+KaRZGh4R9WR2J7e6nQpIKcr2bNvB/ue0FXiYS7KjksVZor8OqorXmjHCYzAWeercUSSdscWof0T+2q/POyHK5FzndF/LJNLrAlj83L+7Syl4oOSMTTQHjlVzTiT13tml+6TR/aOGArTpngiDqpGORc+F4rixSIUxoUrMiiaP6ElipmewiABoHpuW/NNTiWJi/Sdq3H/q28horCpBl1RGfMTMofcCefUnZeoEGQ6QDj07ymj6bg3bptQQoWSauVGrVcNVh8/90EeJMQc=
bucket: artefacts.masella.name
skip_cleanup: true
local_dir: www
acl: public_read