-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
42 lines (35 loc) · 877 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
sudo: required
language: node_js
env:
- MOZ_HEADLESS=1
addons:
firefox: latest
node_js:
- "v8.12.0"
before_install:
- wget https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-linux64.tar.gz
- mkdir geckodriver
- tar -xzf geckodriver-v0.23.0-linux64.tar.gz -C geckodriver
- export PATH=$PATH:$PWD/geckodriver
- "cd tests/behave"
- "virtualenv env"
- "source env/bin/activate"
- "pip install selenium"
- "pip install --ignore-installed behave"
- "cd ../.."
# - "sudo pip install --upgrade pip"
# - "sudo pip install selenium"
# - "sudo pip install --ignore-installed behave"
install:
- "npm install"
script:
- "npx gulp bundle"
- "npx gulp test"
- "PGDIR=`pwd`"
- "cd tests/behave"
- "source env/bin/activate"
- "TARGET=file://$PGDIR DRAFT=6 behave"
# whitelist
branches:
only:
- master