aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorPierre Fenoll <[email protected]>2018-05-03 17:55:48 +0200
committerGitHub <[email protected]>2018-05-03 17:55:48 +0200
commit9c615ea9cc2723cae5d0c0bf9cc9965350afebe7 (patch)
tree51634c9eb6280eea5935811d1f31bf1444c6fcb0 /.travis.yml
parent8d96c2baaed87a53432c5e4e2947423d3ebaab1e (diff)
downloadkerl-9c615ea9cc2723cae5d0c0bf9cc9965350afebe7.tar.gz
kerl-9c615ea9cc2723cae5d0c0bf9cc9965350afebe7.tar.bz2
kerl-9c615ea9cc2723cae5d0c0bf9cc9965350afebe7.zip
Testing odbc+wx on OTP 20.3 on a slim jessie (#271)
* wx-20.3: seeing about kerl/kerl/issues/270 * wx-20.3: less failible test + less deps * wx-20.3: move linux tests out of TravisCI into CircleCI * wx-20.3: always use git backend (erlang.org is still down) * wx-20.3: work around fact that erlang.org is down in .travis.yml * wx-20.3: fix some things * wx-20.3: looks like skipping happens too late * Revert "wx-20.3: looks like skipping happens too late" This reverts commit e0600cefa71760e9bd74e7efc37089d5d75e764e. * wx-20.3: that should fix it * wx-20.3: run shellcheck in circle, now travis is only about osx! * wx-20.3: that did not fix it (cc @mrallen1) * wx-20.3: shellcheck stable segfaults? * wx-20.3: should fix shellcheck segfault * SC1117: Backslash is literal in "\!". Prefer explicit escaping: "\\!". Not sure about the csh one. @mcrallen1 you have a clue? * wx-20.3: SC2207: Prefer mapfile or read -a to split command output (or quote to avoid splitting). * wx-20.3: SC2154: words is referenced but not assigned. * wx-20.3: replace some double quotes with simple ones * wx-20.3: ps not found on debian9!? * wx-20.3: what now * wx-20.3: lets try a later vsn * wx-20.3: some cleaning up * wx-20.3: YAML fun * wx-20.3: wat
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml35
1 files changed, 5 insertions, 30 deletions
diff --git a/.travis.yml b/.travis.yml
index cb42360..18fdb8c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,52 +1,27 @@
language: bash
sudo: false
-
-addons:
- apt:
- sources:
- - debian-sid # for: shellCheck
- packages:
- - shellcheck
-
-os:
- - linux
- - osx
+os: osx
env:
global:
- KERL_BASE_DIR="$TMPDIR"/.kerl
- - KERL_CONFIGURE_DISABLE_APPLICATIONS="odbc"
+ - KERL_BUILD_BACKEND=git
+ - KERL_CONFIGURE_DISABLE_APPLICATIONS='odbc'
matrix:
- _KERL_VSN=19.2
- _KERL_VSN=18.3
- _KERL_VSN=17.5
- _KERL_VSN=R16B03-1
-before_script:
- - set -o pipefail
- - |
- if [[ "$TRAVIS_OS_NAME" == 'linux' ]] && [[ "$_KERL_VSN" == '19.2' ]]; then
- set -e
- export USING_SHELLCHECK=1
- shellcheck ./kerl
- shellcheck ./bash_completion/kerl
- # zsh_completion/_kerl # https://github.com/koalaman/shellcheck/issues/809
- set +e
- fi
-
+before_script: set -e
+after_script: set +e
script:
- - set -e
- ./kerl update releases
- travis_wait 45 ./kerl build "$_KERL_VSN" "$_KERL_VSN"
- ./kerl install "$_KERL_VSN" "install_$_KERL_VSN"
- ./kerl status
- - |
- if [[ "$USING_SHELLCHECK" == '1' ]]; then
- shellcheck $(./kerl path install_$_KERL_VSN)/activate
- fi
- source $(./kerl path install_$_KERL_VSN)/activate
- erl -s crypto -s init stop
- kerl_deactivate
- ./kerl delete installation $(./kerl path install_$_KERL_VSN)
- ./kerl delete build "$_KERL_VSN"
- - set +e