-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
49 lines (45 loc) · 1.22 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
# EmuTOS build script for Travis CI
# This will automatically be run on every push to GitHub
# Build History: https://travis-ci.org/emutos/emutos/builds/
language: c
os: linux
dist: trusty
sudo: required
before_install:
# Install our SSH key pair
- .travis/install_ssh_id.sh
- unset SSH_ID
# Register third-party APT repositories
- sudo .travis/register_apt_repositories.sh
# Install additional packages
- sudo apt-get install -y cross-mint-essential dos2unix lftp
# Display packages versions
- git --version
- make --version
- ld --version
- gcc --version
- awk -W version
- m68k-atari-mint-ld --version
- m68k-atari-mint-gcc --version
- tar --version
- unix2dos --version
- lftp --version
script:
# Set FIXED_TRAVIS_COMMIT_RANGE
- . .travis/fix_travis_commit_range.sh
# Build binaries
- export VERSION=$(date -u +%Y%m%d-%H%M%S)-$(git rev-parse --short $TRAVIS_COMMIT)
- echo VERSION=$VERSION
- make clean
- make release VERSION=$VERSION
# Add README.txt
- .travis/generate-readme.sh >release-archives/README.md
# Display resulting tree
- ls -l release-archives
deploy:
skip_cleanup: true
provider: script
script: .travis/deploy.sh
on:
repo: emutos/emutos
branch: master