Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not-to-merge PR to check travis #4677

Closed
wants to merge 18 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 10 additions & 10 deletions .travis.yml
Expand Up @@ -4,7 +4,7 @@ dist: trusty
language: python

python:
- 2.7
- 2.7.12

addons:
firefox: latest
Expand All @@ -23,19 +23,19 @@ branches:
env:
matrix:
- RUN_LINT=true
- RUN_FRONTEND_TESTS=true
- RUN_BACKEND_TESTS=true REPORT_BACKEND_COVERAGE=false EXCLUDE_LOAD_TESTS=true
- RUN_FRONTEND_TESTS=false
- RUN_BACKEND_TESTS=false REPORT_BACKEND_COVERAGE=false EXCLUDE_LOAD_TESTS=true
# TODO(sll): Reinstate this when we can get it to run in reasonable time.
# - RUN_BACKEND_TESTS=true REPORT_BACKEND_COVERAGE=true
# TODO(sll): Reinstate this when the load tests are more reliable.
# - RUN_BACKEND_TESTS=true REPORT_BACKEND_COVERAGE=true EXCLUDE_LOAD_TESTS=false
- RUN_E2E_TESTS_MAIN_EDITOR_PROD=true
- RUN_E2E_TESTS_EDITOR_FEATURES_PROD=true
- RUN_E2E_TESTS_EXTENSIONS_PROD=true
- RUN_E2E_TESTS_LIBRARY_PROD=true
- RUN_E2E_TESTS_MISC_PROD=true
- RUN_E2E_TESTS_USERS_PROD=true
- RUN_E2E_TESTS_EMBEDDING_PROD=true
- RUN_E2E_TESTS_MAIN_EDITOR_PROD=false
- RUN_E2E_TESTS_EDITOR_FEATURES_PROD=false
- RUN_E2E_TESTS_EXTENSIONS_PROD=false
- RUN_E2E_TESTS_LIBRARY_PROD=false
- RUN_E2E_TESTS_MISC_PROD=false
- RUN_E2E_TESTS_USERS_PROD=false
- RUN_E2E_TESTS_EMBEDDING_PROD=false
matrix:
allow_failures: []
fast_finish: true
Expand Down
16 changes: 8 additions & 8 deletions scripts/install_third_party.sh
Expand Up @@ -103,14 +103,14 @@ echo Checking if numpy is installed in $TOOLS_DIR/pip_packages
if [ ! -d "$TOOLS_DIR/numpy-1.6.1" ]; then
echo Installing numpy

pip install numpy==1.6.1 --target="$TOOLS_DIR/numpy-1.6.1"
pip install -e numpy==1.6.1 --target="$TOOLS_DIR/numpy-1.6.1"
fi

echo Checking if pylint is installed in $TOOLS_DIR/pip_packages
if [ ! -d "$TOOLS_DIR/pylint-1.7.1" ]; then
echo Installing Pylint

pip install pylint==1.7.1 --target="$TOOLS_DIR/pylint-1.7.1"
pip install -e pylint==1.7.1 --target="$TOOLS_DIR/pylint-1.7.1"
# Add __init__.py file so that pylint dependency backports are resolved
# correctly.
touch $TOOLS_DIR/pylint-1.7.1/backports/__init__.py
Expand All @@ -128,12 +128,12 @@ fi

# Install isort.
echo Checking if isort is installed in third_party
if [ ! -d "$TOOLS_DIR/isort-4.2.15" ]; then
if [ ! -d "$TOOLS_DIR/isort-4.3.3" ]; then
echo Installing isort
# Note that the URL redirects, so we pass in -L to tell curl to follow the redirect.
curl -o isort-4.2.15.tar.gz -L https://pypi.python.org/packages/4d/d5/7c8657126a43bcd3b0173e880407f48be4ac91b4957b51303eab744824cf/isort-4.2.15.tar.gz
tar xzf isort-4.2.15.tar.gz -C $TOOLS_DIR
rm isort-4.2.15.tar.gz
curl -o isort-4.3.3.tar.gz -L https://pypi.python.org/packages/a2/13/f9da1234eba3d254093e70de31be9bebade75806b07602c83654246a7286/isort-4.3.3.tar.gz
tar xzf isort-4.3.3.tar.gz -C $TOOLS_DIR
rm isort-4.3.3.tar.gz
fi

# Install pycodestyle.
Expand All @@ -151,14 +151,14 @@ echo Checking if browsermob-proxy is installed in $TOOLS_DIR/pip_packages
if [ ! -d "$TOOLS_DIR/browsermob-proxy-0.7.1" ]; then
echo Installing browsermob-proxy

pip install browsermob-proxy==0.7.1 --target="$TOOLS_DIR/browsermob-proxy-0.7.1"
pip install -e browsermob-proxy==0.7.1 --target="$TOOLS_DIR/browsermob-proxy-0.7.1"
fi

echo Checking if selenium is installed in $TOOLS_DIR/pip_packages
if [ ! -d "$TOOLS_DIR/selenium-2.53.2" ]; then
echo Installing selenium

pip install selenium==2.53.2 --target="$TOOLS_DIR/selenium-2.53.2"
pip install -e selenium==2.53.2 --target="$TOOLS_DIR/selenium-2.53.2"
fi

# install pre-push script
Expand Down