forked from vitasdk/vita-headers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (47 loc) · 1.38 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
language: c
sudo: false
cache:
directories:
- $HOME/doxygen
before_script:
# download doxygen 1.8.12
- mkdir -p $HOME/doxygen
- cd $HOME/doxygen
- ls doxygen* >/dev/null 2>&1 || curl -L ftp://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.12.linux.bin.tar.gz | tar xz
script:
- set -e
- cd $TRAVIS_BUILD_DIR
- python $TRAVIS_BUILD_DIR/.travis.d/definition_check.py
- bash $TRAVIS_BUILD_DIR/.travis.d/download_sdk.sh
- export VITASDK=$PWD/vitasdk
- export PATH=$VITASDK/bin:$PATH
- bash $TRAVIS_BUILD_DIR/.travis.d/download_external_libs.sh
- cd $VITASDK/arm-vita-eabi/include
- rm -rf psp2 psp2kern vitasdk vitasdk.h
- cd $VITASDK/arm-vita-eabi/lib
- rm -rf *_stub.a
- cd $TRAVIS_BUILD_DIR
- cp -r include/* $VITASDK/arm-vita-eabi/include
- vita-libs-gen db.yml output
- cd output
- make > /dev/null
- cp *_stub.a $VITASDK/arm-vita-eabi/lib
- cd $TRAVIS_BUILD_DIR
- git clone https://github.com/vitasdk/samples
- cd samples
- mkdir build
- cd build
- cmake ..
- make
before_deploy:
- git config --global user.email "[email protected]"
- git config --global user.name "Travis CI"
deploy:
provider: script
overwrite: true
skip_cleanup: true
script: bash $TRAVIS_BUILD_DIR/.travis.d/deploy_docs.sh
on:
tags: false
branch:
- master