[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/lua-mode 1f04654 379/468: travis: enable testing on osx
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/lua-mode 1f04654 379/468: travis: enable testing on osx |
Date: |
Thu, 5 Aug 2021 04:59:13 -0400 (EDT) |
branch: elpa/lua-mode
commit 1f04654ec01bd4f002bfa647b884a16f1f509b60
Author: immerrr <immerrr+lua@gmail.com>
Commit: immerrr <immerrr+lua@gmail.com>
travis: enable testing on osx
---
.travis.yml | 28 ++++++++++++++++++----------
travis/before-install.sh | 24 ++++++++++++++++++++++++
2 files changed, 42 insertions(+), 10 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 0479a5c..1b26360 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,25 +5,33 @@ addons:
apt:
packages:
- lua5.2
+ homebrew:
+ update: true
+ packages:
+ - lua
env:
- - EVM_EMACS=emacs-26.1-travis-linux-xenial
- - EVM_EMACS=emacs-26.2-travis-linux-xenial
- EVM_EMACS=emacs-git-snapshot-travis-linux-xenial
- - EVM_EMACS=emacs-24.3-travis
- - EVM_EMACS=emacs-24.4-travis
- - EVM_EMACS=emacs-24.5-travis
- - EVM_EMACS=emacs-25.1-travis
- - EVM_EMACS=emacs-25.2-travis
+ - EVM_EMACS=emacs-26.2-travis-linux-xenial
+ - EVM_EMACS=emacs-26.1-travis-linux-xenial
- EVM_EMACS=emacs-25.3-travis
+ - EVM_EMACS=emacs-25.2-travis
+ - EVM_EMACS=emacs-25.1-travis
+ - EVM_EMACS=emacs-24.5-travis
+ - EVM_EMACS=emacs-24.4-travis
+ - EVM_EMACS=emacs-24.3-travis
+jobs:
+ include:
+ - os: osx
+ env:
+ - EVM_EMACS=emacs-26.1-travis
matrix:
allow_failures:
- env: EVM_EMACS=emacs-git-snapshot-travis-linux-xenial
fast_finish: true
before_install:
- - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw >
travis.sh && source ./travis.sh
- - evm install "$EVM_EMACS" --use --skip
- - emacs --version
+ - source ./travis/before-install.sh
install:
- cask install
script:
+ - echo 'print(123)' | lua -i
- make test
diff --git a/travis/before-install.sh b/travis/before-install.sh
new file mode 100755
index 0000000..891ce51
--- /dev/null
+++ b/travis/before-install.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
+ if ! [[ "$EVM_EMACS" == "emacs-26.1-travis" ]]; then
+ # FIXME: implement EVM_EMACS version translation.
+ echo "Only Emacs-26.1 is supported for OSX builds"
+ exit 1
+ fi
+ set -x
+ curl -fsSL
https://emacsformacosx.com/emacs-builds/Emacs-26.1-universal.dmg -o
/tmp/Emacs-26.1-universal.dmg &&
+ hdiutil attach /tmp/Emacs-26.1-universal.dmg &&
+ mkdir -p "$HOME/bin" &&
+ ln -s /Volumes/Emacs/Emacs.app/Contents/MacOS/Emacs "$HOME/bin/emacs"
&&
+ export PATH="$HOME/bin:$PATH" &&
+ emacs --version &&
+ curl -fsSL https://raw.github.com/cask/cask/master/go -o
/tmp/cask-bootstrap.py &&
+ python /tmp/cask-bootstrap.py &&
+ export PATH="$HOME/.cask/bin:$PATH"
+ set +x
+else
+ emacs --version
+ curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw >
travis.sh && source ./travis.sh
+ evm install "$EVM_EMACS" --use --skip
+fi
- [nongnu] elpa/lua-mode ea7e35c 321/468: Escape tabs in lua-make-lua-string, (continued)
- [nongnu] elpa/lua-mode ea7e35c 321/468: Escape tabs in lua-make-lua-string, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 33097fe 329/468: Merge pull request #123 from zonuexe/fix/auto-mode-alist, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode e6faecc 328/468: Use \\' instead of $, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 5640afe 332/468: Merge pull request #128 from immerrr/update-makefile-and-travis-yml, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 56691b8 338/468: Add tests for preserving point location when filling, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 6daec31 342/468: utils: update to new buttercup matcher definition logic (#138), Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode a80d912 350/468: Fix a minor bug in lua-kill-process, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 5a90655 355/468: correct spelling mistake, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode aca4014 356/468: utils: update to new buttercup matcher definition logic (#138), Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode e8281dc 362/468: Fix a minor bug in lua-kill-process, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 1f04654 379/468: travis: enable testing on osx,
Philip Kaludercic <=
- [nongnu] elpa/lua-mode eb93be5 380/468: Merge pull request #158 from immerrr/enable-testing-on-osx, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 4cdee31 388/468: Use proper lexical-bindings instead of lexical-let*, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 5dfc5be 399/468: Merge pull request #168 from immerrr/index-requires-as-imenu-items, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode a3a71b1 400/468: Merge pull request #151 from edam/indent-nested-blocks, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 35b6e4c 402/468: Merge pull request #169 from tarsiiformes/typos, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 724bfa5 409/468: Fix support for file-local vars in indentation tests, add tests for blocks, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 1365ba0 412/468: Enable XFAIL-ing tests for continuation in block intros, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 51a32ef 417/468: Merge pull request #176 from immerrr/improve-indentation-for-continuation-lines, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode b37710e 418/468: Enable fontification of variable names in "for" and function parameters, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 9c275cd 419/468: Add regression test for issue #157, fix lua-get-line-faces, Philip Kaludercic, 2021/08/05