-
Notifications
You must be signed in to change notification settings - Fork 54
/
.travis.yml
72 lines (67 loc) · 1.95 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
language: c
sudo: required
cache:
directories:
- opensmalltalk-vm/.thirdparty-cache
git:
depth: 1
jobs:
include:
- stage: "32bit builds"
os: linux
env:
- ARCH="linux32x86"
- FLAVOR="pharo.cog.spur"
- SRC_ARCH="i386"
- HEARTBEAT="threaded"
#before_script:
#- make -f Makefile.debian version_from_travis
#- make -f Makefile.debian
#- ./scripts/commit-obs.sh
#- git clean -dxf packaging image && git checkout .
#after_deploy: ./scripts/deploy-after.sh
- os: linux
env: ARCH="linux32x86" FLAVOR="pharo.cog.spur" SRC_ARCH="i386" HEARTBEAT="itimer"
- os: osx
osx_image: xcode6.4
env: ARCH="macos32x86" FLAVOR="pharo.cog.spur" SRC_ARCH="i386"
- stage: "64bit builds"
os: linux
env: ARCH="linux64x64" FLAVOR="pharo.cog.spur" SRC_ARCH="x86_64" HEARTBEAT="threaded"
- os: linux
env: ARCH="linux64x64" FLAVOR="pharo.cog.spur" SRC_ARCH="x86_64" HEARTBEAT="itimer"
- os: osx
osx_image: xcode6.4
env: ARCH="macos64x64" FLAVOR="pharo.cog.spur" SRC_ARCH="x86_64"
- stage: "ARM builds"
os: linux
sudo: required
env: ARCH="linux32ARMv6" FLAVOR="pharo.cog.spur" SRC_ARCH="i386" CHROOT="schroot -p -c rpi
-- bash -c "
dist: trusty
group: edge
install: (cd opensmalltalk-vm && ./.travis_install.sh)
script:
- (cd scripts && ./build-sources.sh -a $SRC_ARCH)
- (cd scripts && ./build-makefile-linux.sh)
- (cd opensmalltalk-vm && $CHROOT ./.travis_build.sh)
- (cd scripts && ./pack-vm.sh -p $ARCH -a $SRC_ARCH)
- ./scripts/run-tests.sh
before_deploy:
- (cd scripts && sh ./deploy-key.sh)
- ./scripts/deploy-before.sh
deploy:
- provider: bintray
skip_cleanup: true
file: .bintray.json
user: $BINTRAY_USER
key: $BINTRAY_API_KEY
on:
branch: master
repo: pharo-project/pharo-vm
- provider: script
skip_cleanup: true
script: ./scripts/deploy-files.pharo.org.sh
on:
branch: master
repo: pharo-project/pharo-vm