Commit e564bb34 by Dane Springmeyer

travis: always for a source compile

parent 355aedc3
...@@ -26,14 +26,14 @@ script: ...@@ -26,14 +26,14 @@ script:
- npm test - npm test
- make clean - make clean
- export NVER=`node -v` - export NVER=`node -v`
- export PATH=$(pwd)/node-${NVER}-linux-x86/bin:$PATH
- if [[ "$NVER" != v0.6* ]]; then wget http://nodejs.org/dist/${NVER}/node-${NVER}-linux-x86.tar.gz; fi - if [[ "$NVER" != v0.6* ]]; then wget http://nodejs.org/dist/${NVER}/node-${NVER}-linux-x86.tar.gz; fi
- if [[ "$NVER" != v0.6* ]]; then tar xf node-${NVER}-linux-x86.tar.gz; fi - if [[ "$NVER" != v0.6* ]]; then tar xf node-${NVER}-linux-x86.tar.gz; fi
- if [[ "$NVER" != v0.6* ]]; then npm install --target_arch=ia32; fi - if [[ "$NVER" != v0.6* ]]; then export PATH=$(pwd)/node-${NVER}-linux-x86/bin:$PATH && ls $(pwd)/node-${NVER}-linux-x86/bin; fi
- if [[ "$NVER" != v0.6* ]]; then npm install --build-from-source --target_arch=ia32; fi
- if [[ "$NVER" != v0.6* ]]; then ldd lib/binding/*/*/*node; fi - if [[ "$NVER" != v0.6* ]]; then ldd lib/binding/*/*/*node; fi
- if [[ "$NVER" != v0.6* ]]; then npm test; fi - if [[ "$NVER" != v0.6* ]]; then npm test; fi
- if [[ "$NVER" != v0.6* ]]; then make clean; fi - if [[ "$NVER" != v0.6* ]]; then make clean; fi
- if [[ "$NVER" != v0.6* ]]; then sudo apt-get -y install libsqlite3-dev:i386 binutils:i386 cpp:i386 gcc-4.6:i386 g++-4.6:i386 libstdc++6-4.6-dev:i386 | true; fi - if [[ "$NVER" != v0.6* ]]; then sudo apt-get -y install libsqlite3-dev:i386 binutils:i386 cpp:i386 gcc-4.6:i386 g++-4.6:i386 libstdc++6-4.6-dev:i386 | true; fi
- if [[ "$NVER" != v0.6* ]]; then CC=gcc-4.6 CXX=g++-4.6 npm install --target_arch=ia32 --sqlite=/usr; fi - if [[ "$NVER" != v0.6* ]]; then CC=gcc-4.6 CXX=g++-4.6 npm install --build-from-source --target_arch=ia32 --sqlite=/usr; fi
- if [[ "$NVER" != v0.6* ]]; then ldd lib/binding/*/*/*node; fi - if [[ "$NVER" != v0.6* ]]; then ldd lib/binding/*/*/*node; fi
- if [[ "$NVER" != v0.6* ]]; then npm test; fi - if [[ "$NVER" != v0.6* ]]; then npm test; fi
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment