2018-03-30 17:08:06 +00:00
language : python
2018-04-02 18:30:00 +00:00
2018-04-02 17:06:36 +00:00
addons :
firefox : latest
2018-04-02 18:30:00 +00:00
2018-03-30 17:08:06 +00:00
cache :
pip : true
ccache : true
directories :
- emsdk/emsdk
2018-04-02 18:30:00 +00:00
2018-03-30 17:08:06 +00:00
python :
- '3.6'
2018-04-02 18:30:00 +00:00
2018-03-30 17:08:06 +00:00
before_install :
- wget https://github.com/mozilla/geckodriver/releases/download/v0.20.0/geckodriver-v0.20.0-linux64.tar.gz
- mkdir geckodriver
2018-04-02 17:54:31 +00:00
- tar -xf geckodriver-v0.20.0-linux64.tar.gz -C geckodriver
2018-03-30 17:08:06 +00:00
- export PATH=$PATH:$PWD/geckodriver
2018-04-02 18:01:38 +00:00
- if [ ! -f emsdk/emsdk/emsdk ]; then cd $TRAVIS_BUILD_DIR/emsdk; wget https://github.com/iodide-project/pyodide-demo/raw/toolchain/pyodide_toolchain.tgz; tar -xf pyodide_toolchain.tgz; cd $TRAVIS_BUILD_DIR; fi
2018-04-02 18:30:00 +00:00
2018-03-30 17:08:06 +00:00
install :
- pip install pytest selenium
2018-04-02 18:30:00 +00:00
2018-03-30 17:08:06 +00:00
script :
- make test
2018-04-02 18:30:00 +00:00
deploy :
provider : pages
github-token : "$GITHUB_TOKEN"
skip-cleanup : true
keep-history : false
repo : iodide-project/pyodide-demo
verbose : false
local-dir : build
target-branch : master
on :
branch : master
env :
global :
secure : "XADGyHfws1zAttuUWHxUuQmF9RCzMbODWoJXO/wn3rWi0+mCkLd65pvlAETm3fKFaIjnTWxhKwTo+z7Y6f5mIMT4NcNGJA1u8ENfgRilW2c5taI36v3j+XWVpaaz05Fghq+bWi1F46vRQckMX9c1vsYcbpT0WxQL3bb8yX3NSZ0QwPZF0sSWBBDZ2LcPmct2zAwxXsBYO4wfFp+vbexiH6TIArABOYMWlDjgD3WlpHSZ3Ch0ud1Y79f2TRt1SibfpZqNJQ1Zs7ZMdMEEby7tKCTvjSSD+1G8Ctx9X/fnh/YT1+Ayq/6se5WI8bHCxB1UTQBgskj8iB1KYEt6WBDnOFqgsS1GAgEvo9Sj6v+gUfVaVBXXK+CsXFV3vEscWAW65EPstDBGyqRqop4BRaARw7q0teZ4IxUBzPdU3bUNqoA4DoZuGBP1Bt1wyY/9y5gYaQVOXfWbPbBdIsBuwOcgzcR1gFVWKyMXfwgcTA31UUDDTpH1uQgc3T4dnD1556tCSVwML2JYJItx9mVa+m8vxYq5zB45JAZDKr8duwQwH/CuQ33pv4whXb4S3m98NLf2Q/icZAaOFbtQx1taLDlbTa2UlpLpqWwdvVX2TOoIfVUDzUnIY+gppZLOuxAG+X3P0ip+8jIWRvraYTRMyVDLK5zuYHgmGl9Lvtfjzu6vpeM="