mirror of
https://github.com/seigler/dash-website
synced 2025-07-27 07:16:10 +00:00
update travis settings
This commit is contained in:
parent
b1d128a7c9
commit
dba173f5d9
1 changed files with 16 additions and 22 deletions
34
.travis.yml
34
.travis.yml
|
@ -1,29 +1,23 @@
|
||||||
language: node_js
|
sudo: required
|
||||||
node_js:
|
dist: trusty
|
||||||
- 4.5.0
|
language: python
|
||||||
before_script:
|
python:
|
||||||
- chmod +x ./cibuild.sh
|
- '3.6'
|
||||||
|
|
||||||
|
script:
|
||||||
|
- bash cibuild.sh
|
||||||
|
- test -d _site/ && test -s _site/index.html
|
||||||
|
|
||||||
|
before_deploy:
|
||||||
- ssh-keyscan -H -t rsa,dsa $hostname >> ~/.ssh/known_hosts
|
- ssh-keyscan -H -t rsa,dsa $hostname >> ~/.ssh/known_hosts
|
||||||
script: ./cibuild.sh
|
|
||||||
env:
|
|
||||||
global:
|
|
||||||
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
|
|
||||||
- CXX=g++-4.8
|
|
||||||
sudo: false
|
|
||||||
addons:
|
addons:
|
||||||
ssh_known_hosts:
|
ssh_known_hosts:
|
||||||
- www-test.dash.org
|
- www-test.dash.org
|
||||||
- 146.185.153.42
|
|
||||||
apt:
|
|
||||||
sources:
|
|
||||||
- ubuntu-toolchain-r-test
|
|
||||||
packages:
|
|
||||||
- g++-4.8
|
|
||||||
before_install:
|
|
||||||
- rvm install 2.3.1
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: script
|
provider: script
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
script: test $TRAVIS_TEST_RESULT = 0 && script/deploy-rsync.sh
|
script: bash script/deploy-rsync.sh
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue