-
Notifications
You must be signed in to change notification settings - Fork 40
/
.travis.yml
45 lines (38 loc) · 1.44 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
##############################################################################
### This travis script allows you to build codes which require the Vita SDK #
##############################################################################
language: cpp
sudo: false
services:
- docker
before_install:
# execute all of the commands which need to be executed
# before installing dependencies
install:
# install all of the dependencies you need here
# NOTE: Commands to execute in docker must go in scripts/travis/setup.sh and not here.
- docker run --name setup -v "${TRAVIS_BUILD_DIR}:/build/git" gnuton/vitasdk-docker /bin/bash /build/git/scripts/travis/setup.sh
- docker logs setup
- docker commit setup build_img
before_script:
# execute all of the commands which need to be executed
# before running actual tests
script:
# execute all of the commands which should make the build pass or fail
# NOTE: Commands to execute in docker must go in scripts/travis/build.sh and not here.
- docker run --name build -v "${TRAVIS_BUILD_DIR}:/build/git" build_img /bin/bash /build/git/scripts/travis/build.sh
- docker logs build
# the lines below just show you how the dirs looks like. But they are not actually needed
- ls
- ls kernel
- ls kernel/build
deploy:
provider: releases
api_key: "$GH_TOKEN"
file:
- "kernel/build/storagemgr.skprx"
- "README.md"
- "storage_config.txt"
skip_cleanup: true
on:
tags: true