Skip to content

Commit

Permalink
Fix Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
vadimcn committed Oct 2, 2018
1 parent 89044e9 commit 0ec1153
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ os:
- linux
- osx

language: node_js
language: generic
node_js: "4"
python: "2.7"

dist: trusty
sudo: required
Expand All @@ -14,15 +15,28 @@ addons:
- python-lldb-3.9

before_script:
- npm install
- curl https://sh.rustup.rs -sSf | sh -s - -y
- export PATH="$HOME/.cargo/bin:$PATH"
- if [ $TRAVIS_OS_NAME = linux ]
- then
- export LLDB_EXECUTABLE=lldb-3.9
- echo 0 > /proc/sys/kernel/yama/ptrace_scope
- fi
- |
if [ $TRAVIS_OS_NAME = linux ]
then
export LLDB_EXECUTABLE=lldb-3.9
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
fi
- |
if [ $TRAVIS_OS_NAME = osx ]
then
export PATH=/usr/bin:$PATH
fi
- which python
- python --version
- export LLDB_LOGFILE=$HOME/lldb.log

script:
- npm test

after_failure:
- env
- cat $HOME/lldb.log
- ls -R

0 comments on commit 0ec1153

Please sign in to comment.