Skip to content

Commit 755b482

Browse files
committed
Adjust CI
1 parent d8c3089 commit 755b482

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

.travis.yml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,17 @@ before_install:
1111
- nvm install 6
1212
- pip install cookiecutter
1313
install:
14+
- pushd $(mktemp -d)
15+
- cookiecutter $TRAVIS_BUILD_DIR --config-file $TRAVIS_BUILD_DIR/tests/testconfig.yaml --no-input
16+
- pushd jupyter-widget-testwidgets
17+
- pip install --upgrade -v -e ".[test]"
18+
before_script:
1419
- |
15-
pushd $(mktemp -d)
16-
cookiecutter $TRAVIS_BUILD_DIR --config-file $TRAVIS_BUILD_DIR/tests/testconfig.yaml --no-input
17-
pushd jupyter-widget-testwidgets
18-
pip install --upgrade -v ".[test]"
20+
export CHROME_BIN=chromium-browser
21+
export DISPLAY=:99.0
22+
sh -e /etc/init.d/xvfb start
1923
script:
20-
- |
21-
py.test
22-
npm test
23-
popd
24-
popd
25-
before_cache:
26-
# Do not cache our own package
27-
- |
28-
rm -rf packages/{{ cookiecutter.jlab_extension_name }}/node_modules/{{ cookiecutter.npm_package_name }}
29-
after_success:
30-
- codecov
24+
- py.test
25+
- npm test
26+
- popd
27+
- popd

0 commit comments

Comments
 (0)