dash-website/.travis.yml
0xfff 2b0331ad48 (Feature) Build System: Use npm scripts for the build process (#16)
* (Chore) Editorconfig: Add an editorconfig file so those spaces and tabs dont keep mixing

* (Refactor) Build: use npm scripts to build assets

* (Chore) Build: remove dist files from repo / fix ESLint errors

* (Update) Build: Remove unused tasks / add autoprefixer

* (Chore) Gemfile: remove old dependencies

* (Chore) Package.json: Shrinkwrap & postinstalll

* (Doc) Build: Update instructions for new build system

* (Fix) Build: Wach html files in all folders

* (Fix) Build: exclude _site/ from watch

* (Chore) Build/CI: Update buildscript for node/ruby combined

* (Chore) Travis: Add g++ compiler to environment

* (Chore) Build: fix watched directory

* (Fix) travis: set version to 4.5.0 LTS

* (Fix) travis: remove shrinkwrap

* (Fix) Travis: rvm

* (Fix) Travis: before_install

* (Fix) Travis: ignore dist for html proofer
2016-09-17 02:14:13 +02:00

32 lines
780 B
YAML

language: node_js
node_js:
- 4.5.0
before_script:
- chmod +x ./cibuild.sh
script: "./cibuild.sh"
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
- CXX=g++-4.8
sudo: false
addons:
ssh_known_hosts: $hostname
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- openssl aes-256-cbc -K $encrypted_4395499fa958_key -iv $encrypted_4395499fa958_iv
-in dash.org-test-web.pem.enc -out dash.org-test-web.pem -d
- rvm install 2.3.1
before_deploy:
- eval "$(ssh-agent -s)"
- chmod 600 $TRAVIS_BUILD_DIR/$IdentityFile
- ssh-add $TRAVIS_BUILD_DIR/$IdentityFile
deploy:
provider: script
skip_cleanup: true
script: rsync -r --delete-after --quiet $TRAVIS_BUILD_DIR/_dist $user@$hostname:$production_path
on:
branch: master