-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (39 loc) · 1.57 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
git:
depth: 500
stages:
- linux
- windows
jobs:
include:
- stage: linux
name: Build, Test and Deploy
language: minimal
services:
- docker
install:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker pull krpc/buildenv:`cat tools/docker/VERSION.txt`
before_script:
- ./tools/travis-ci/set-version.py
- ln -s /usr/local/lib/ksp lib/ksp
script:
- stty cols 120
- ./tools/travis-ci/script.sh
- stage: windows
name: Build and Deploy
os: windows
language: cpp
before_script:
- python ./tools/travis-ci/set-version.py
script:
- ./tools/travis-ci/script-windows.sh
deploy:
provider: s3
edge: true
access_key_id: AKIAJY3TMSKHV7DOMMWA
secret_access_key:
secure: shO089eufeIp6PHqa9bVWww2iQIxGgNwhTDwPZkuKuup9ZKr9QuGAhO2VFzhYQHCy3FZuSsxcfB3PjX6wsw2HU0qW0g6VFKHSkEV2/1EOO+vf0EA+jT1E7NZquq/VQ43vqYEWKszbiwO/ZYcM+eNmf+8IBaizaM2Q3eGNk0mI/PjKPHu3EgYRUelXVhVTr7hxgoixQVATjCzHMZzo2iYXETnAZryFn3dgmPgzXmD13DZHsHzdITM86fOadk391s31Vfk79YkQXEyEUoYIRUYZmNBxZzRzXU9d6DSihvpTsNAhqTmTMVEabDup+vjy1kKZJ1J/KC1JaVjWhyV4632/tUeQelPhcgGS5/58qeZu9GWIz5IdP5r7RFsJyJvE4/BjSUAEy7iGi4V1csTa5xe5x0fQYGy5Q96q5za5328MYLgr8MtfWjuersbi1vEsisiUlrukFTj6s7pJio/Y9Qon6iz3yqAwfb0vNWTFLCvc/mveoX70lhTZgih/nvevVTZsnPfKnF1PFhx1yUYIKCV5JYQwVNhLP7/SJqKCh3Byi/ZE1wdvD/XQ8rPKlcBXYhfEZe2D7kJMxENGMI7FyyG6zY0PRKu9fk0rsFrosT4V0v20VYIvLJ1PWMVF86YaM29T13J1grNVF3OSS/y76gPNX1OGYP1THYYDW0At/a3DV0=
bucket: krpc
local_dir: s3-deploy
on:
all_branches: true