-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
32 lines (28 loc) · 1.28 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
os: linux
language: c
addons:
apt:
update: true
packages:
- curl
install:
# - sudo apt-get update -qq
# - sudo apt-get install -qq git
# - sudo pip install --upgrade pip
# - sudo pip install mkdocs
# - git clone https://github.com/oric-software/buildTestAndRelease.git
# - cd buildTestAndRelease/ && sh make.sh
#- pushd ..
- git clone https://github.com/assinie/md2hlp.git
- git clone https://github.com/cc65/cc65.git
- pushd cc65 && make &> /dev/null
- cp bin/* /home/travis/bin/
- popd
after_success:
- VERSION=`cat VERSION`
- mkdir orix/usr/share/forth/$VERSION -p && cp build/cart/TeleForth.rom orix/usr/share/forth/$VERSION/forth.rom
- mkdir -p orix/etc/orixcfg/$VERSION/ && echo "Forth v$VERSION;/usr/share/forth/$VERSION/forth.rom" > orix/etc/orixcfg/$VERSION/forth.cnf
- mkdir orix/usr/share/man/ -p && cp build/usr/share/man/forth.hlp orix/usr/share/man/
- mkdir orix/usr/src/forth -p && cp src/* orix/usr/src/forth -adpR
- cd orix && tar -zcvf ../forth.tgz * && cd ..
- curl -X POST --data-binary '@forth.tgz' "https://cdn.oric.org/publish.php?hash=$hash&path=/home/oricoujr/www/ftp/orix/dists/$VERSION/tgz/6502/forth.tgz"