aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 18fdb8c8d1b03be8764116bf51654ca4d8df26e8 (plain) (blame)
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
language: bash
sudo: false
os: osx

env:
  global:
    - KERL_BASE_DIR="$TMPDIR"/.kerl
    - 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 -e
after_script: set +e
script:
  - ./kerl update releases
  - travis_wait 45 ./kerl build "$_KERL_VSN" "$_KERL_VSN"
  - ./kerl install "$_KERL_VSN" "install_$_KERL_VSN"
  - ./kerl status
  - 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"