diff --git a/.travis.yml b/.travis.yml index 8cc8f95c..b2527c43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,10 +4,10 @@ python: cache: pip addons: - chrome: beta + chrome: stable install: - - wget http://chromedriver.storage.googleapis.com/2.32/chromedriver_linux64.zip + - wget https://chromedriver.storage.googleapis.com/2.36/chromedriver_linux64.zip - unzip chromedriver_linux64.zip - export PATH=$PATH:$(pwd) - chmod +x chromedriver diff --git a/PyRIGS/settings.py b/PyRIGS/settings.py index d030c164..ab9a5d66 100644 --- a/PyRIGS/settings.py +++ b/PyRIGS/settings.py @@ -162,8 +162,8 @@ LOGOUT_URL = '/user/logout/' ACCOUNT_ACTIVATION_DAYS = 7 # reCAPTCHA settings -RECAPTCHA_PUBLIC_KEY = os.environ.get('RECAPTCHA_PUBLIC_KEY', None) -RECAPTCHA_PRIVATE_KEY = os.environ.get('RECAPTCHA_PRIVATE_KEY', None) +RECAPTCHA_PUBLIC_KEY = os.environ.get('RECAPTCHA_PUBLIC_KEY', "6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI") # If not set, use development key +RECAPTCHA_PRIVATE_KEY = os.environ.get('RECAPTCHA_PRIVATE_KEY', "6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe") # If not set, use development key NOCAPTCHA = True # Email diff --git a/RIGS/test_functional.py b/RIGS/test_functional.py index eab954fd..85ffbd4c 100644 --- a/RIGS/test_functional.py +++ b/RIGS/test_functional.py @@ -32,6 +32,7 @@ def create_browser(): options.add_argument("--window-size=1920,1080") if os.environ.get('CI', False): options.add_argument("--headless") + options.add_argument("--no-sandbox") driver = webdriver.Chrome(chrome_options=options) return driver diff --git a/requirements.txt b/requirements.txt index 1d992393..604dac87 100644 --- a/requirements.txt +++ b/requirements.txt @@ -24,7 +24,7 @@ python-dateutil==2.6.1 pytz==2017.3 raven==6.3.0 reportlab==3.4.0 -selenium==3.7.0 +selenium==3.11.0 simplejson==3.13.2 six==1.11.0 sqlparse==0.2.4