-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
66 lines (58 loc) · 3.13 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
# Copyright (C) 2015 PSP2SDK Project
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
sudo: required
before_install:
- automake --version
- sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
- sudo add-apt-repository -y ppa:win-cross-dev/win-cross
- sudo apt-get update -qq -y
- sudo apt-get install -qq -y doxygen graphviz gcc-arm-none-eabi gcc-mingw-w64-x86-64 binutils-mingw-w64-x86-64 libssl-dev mingw64-openssl
script:
- export REV=dirty-$(git describe --always)
- cd src
- ./autogen.sh $FLAGS
- doxygen
- make install V=0
- cd ..
- cd tools
- ./autogen.sh $FLAGS
- make install V=0
- make clean
- cd ../out
- tar -c * -f ../psp2sdk-$REV-amd64-pc-linux-gnu.tar
- cd ..
- rm -Rf out
- make -C src install
- cd tools
- ./autogen.sh $FLAGS --host=x86_64-w64-mingw32
- make install
- make clean
- cd ..
- cp /usr/x86_64-w64-mingw32/bin/libeay32.dll out/bin
- zip -0rq psp2sdk-$REV-x86_64-w64-mingw32.zip out
- rm -Rf out
after_success:
- curl -q -T psp2sdk-$REV-amd64-pc-linux-gnu.tar -u $FTP ftp://wololo.net/
- curl -q -T psp2sdk-$REV-x86_64-w64-mingw32.zip -u $FTP ftp://wololo.net/
# Commit documentation on gh-pages, removing all history to prevent bloating
- pushd $HOME
- git clone -qb gh-pages --single-branch https://${TOKEN}@github.com/psp2dev/psp2sdk.git gh-pages
- pushd gh-pages
- git config user.name "Travis CI"
- git config user.email contact@travis-ci.com
- git rm -rf *
- cp -r $TRAVIS_BUILD_DIR/src/html/* .
- git add -f .
- git commit --amend -am "Deploy $REV to Github Pages"
- git push -fq origin gh-pages
- popd
- popd
env:
global:
- FLAGS="-q --prefix=$PWD/out"
- secure: "GwNIOVZvxiqQDTikyaLjyNcz5UvrVE5wjoBfu6/vbzmBR1KS+QbVnYkbTv8enW8kua8ilJ3F4604HCc2pqu8d7B/ONHvgvkVTIIvczegketS136ZS8NdVyb1Lp18reVAIkYudxopkKfocwY9dAA33VZZ4OKp5aovQ1owtSJxxXeFjl7leS7MUzrv2ltkF/kZscPHEgIlw/EFWJpcW5bNUXkPh4aDjG6uR9lJRq8EHaMnELJwWtyEv34dmQ8SC70O5XOfxEy80iBs17mvNXykHXPtLpv061myxMJ84/4fGD6P/G7MT7qIWBew0wdY7FWkzWsZO1i6zfygGZPGGQD5I9QRcUSi7YFlxx9Nkm7ecrZbrU2UXhHtBi0kpnrPYAor9JlATOVjAP5UcNXZ/JD2Geb8jtEP+WT+MQt4tbOfObXJKiYdsLez9/xOZx3ReONoLNbKa4h+4j7bDdvAbxmDwcQaz8BNEeIZtqUnXMdOqK0amCxanhULrCA9sQmC2eaptCjilYjoCHBWe55/j+k0K3WFpEHjlv48uPsDx8kT0gO/fFdm4rQ+XSKhtQvqbWGMmkzQ1BMmE1Qd6D+GZirWrisDrs1ZeLrcWxGUv4mNdmwVnrFNwB2wLsus/JTJArQOvtdWbVC9x45xjGX5eUJfAg+8x3M/ppvuE2fKJ3lv94c="
- secure: "GVfqB9TOUv9N4ow+7dw3SoIjiJxlZ1EYQs5hD9oF7OvSY/YgSwB9UHizyJNsq/A3X7E2UsDURKJ4HaY3Pt04TsmSZIjvlQMAZ/gw/pGlkr1XcQfbK6Jt3qP389IYxtM6mhH/EkfI6aYWW2qFWkmqyws3YLX3z69TVO6pthFwSm55r+2PmH+r1XbHwgeNcIs9C/wYo1pngAGtkaJwy/g6418j21dKlSZUCGe4Jd7ZF7Qj8jLmALy1dTk5Gnl6Mgta6fMo6+caZzru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