Skip to content
This repository has been archived by the owner on May 16, 2020. It is now read-only.

Commit

Permalink
epmd start before install
Browse files Browse the repository at this point in the history
  • Loading branch information
c-bik authored Oct 15, 2019
1 parent d0013eb commit 5aa4fd1
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ otp_release:
env:
- ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe ORACLE_SID=XE
before_install:
- eval sudo chmod +x "$(dirname `which erl`)/../erts-*/bin/epmd"
- eval "$(dirname `which erl`)/../erts-*/bin/epmd" -daemon
- export PATH=$PATH:$ORACLE_HOME/bin/
- wget https://raw.githubusercontent.com/Vincit/travis-oracledb-xe/master/accept_the_license_agreement_for_oracledb_xe_11g_and_install.sh
- bash ./accept_the_license_agreement_for_oracledb_xe_11g_and_install.sh
Expand All @@ -23,15 +25,7 @@ before_script:
- lcov --directory . --zerocounters
script:
- echo exit | sqlplus sys/[email protected]:1521/XE as sysdba @test/travis.sql $(pwd)/log/
- OTP_ERTS_DIR="$(ls -d ~/otp/$TRAVIS_OTP_RELEASE/erts*/)"
- export OTP_ERTS_DIR="${OTP_ERTS_DIR:0:$((${#OTP_ERTS_DIR} - 1))}"
- export LD_LIBRARY_PATH=./priv/${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
- ./rebar3 as test compile
- cd test/
- echo exit | sqlplus sys/oracle@$DOCKER_MACHINE_IP:1521/XE as sysdba @travis $(pwd)/log/
- cd -
- sudo chmod +x $OTP_ERTS_DIR/bin/epmd
- $OTP_ERTS_DIR/bin/epmd &
- ./rebar3 eunit
after_success:
- lcov --directory . --capture --output-file coverage.info # capture coverage info
Expand Down

0 comments on commit 5aa4fd1

Please sign in to comment.