forked from railwaycat/homebrew-emacsmacport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (31 loc) · 793 Bytes
/
.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
language: generic
os: osx
env:
- MACPORT_VER=27.2-mac-8.2 EMACS_VER=27.2
# - MACPORT_VER=head EMACS_VER=26.2
jobs:
include:
- os: osx
osx_image: xcode12.2
- os: osx
osx_image: xcode11.3
- os: osx
osx_image: xcode10.1
install:
- ./build-scripts/prepare_homebrew.sh
- pushd build-scripts; ./patch_pkgconfig.sh; popd
script:
- pushd build-scripts
- ./fetch-emacs-mac-port.sh $MACPORT_VER
- ./build-emacs.sh emacs-source $EMACS_VER
- pushd emacs-source; ../copylib.rb; popd
- ./make-zipball.sh emacs-source/tmproot $MACPORT_VER
- ls -d $PWD/emacs-source/tmproot/*.zip
- popd
deploy:
provider: releases
token: "$GITHUB_OAUTH"
file_glob: true
file: build-scripts/emacs-source/tmproot/emacs-*.zip
draft: true
skip_cleanup: true