nodeos-cross-toolchain
Version:
Cross-toolchain to build NodeOS based on Compressed Linux From Scratch Embedded
18 lines (17 loc) • 653 B
YAML
os:
- linux
- osx
osx_image: xcode7.3
language: node_js
node_js:
- "6.2.2"
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then hdiutil create -type SPARSE -fs 'Case-sensitive Journaled HFS+' -size 10g -volname build ../build.dmg ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then hdiutil attach ../build.dmg.sparseimage ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cp -r $TRAVIS_BUILD_DIR/* /Volumes/build ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cd /Volumes/build ; fi
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gnu-sed --with-default-names ; fi
script:
- npm install
- npm run BigRedButton