forked from scala-js/scala-js-env-selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (65 loc) · 1.94 KB
/
.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
sudo: true
language: scala
dist: trusty # Temporarily force dist
scala:
- 2.10.6
- 2.11.11
- 2.12.2
jdk:
- oraclejdk7
- oraclejdk8
matrix:
exclude:
- scala: 2.12.2
jdk: oraclejdk7
addons:
firefox: latest
chrome: stable
before_install:
# Initilize xvfb
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
# Install Selenium drivers
- wget http://chromedriver.storage.googleapis.com/2.30/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip -d bin
- wget https://github.com/mozilla/geckodriver/releases/download/v0.18.0/geckodriver-v0.18.0-linux64.tar.gz
- tar xf geckodriver-v0.18.0-linux64.tar.gz -C bin
- export PATH=$PWD/bin:$PATH
before_script:
- python -m SimpleHTTPServer 8080 &
script:
- >
sbt ++$TRAVIS_SCALA_VERSION
seleniumJSEnv/scalastyle
seleniumJSEnv/test:scalastyle
seleniumJSEnvTest/scalastyle
seleniumJSHttpEnvTest/test:scalastyle
seleniumJSEnvTest/test:scalastyle
- sbt ++$TRAVIS_SCALA_VERSION seleniumJSEnv/mimaReportBinaryIssues
- sbt ++$TRAVIS_SCALA_VERSION seleniumJSEnv/test
- >
sbt ++$TRAVIS_SCALA_VERSION
seleniumJSEnvTest/run
seleniumJSEnvTest/test
'set scalaJSStage in Global := FullOptStage'
seleniumJSEnvTest/run
seleniumJSEnvTest/test
- >
sbt ++$TRAVIS_SCALA_VERSION
seleniumJSHttpEnvTest/test
'set scalaJSStage in Global := FullOptStage'
seleniumJSHttpEnvTest/test
- >
sbt ++$TRAVIS_SCALA_VERSION
'set jsEnvCapabilities in seleniumJSEnvTest := org.openqa.selenium.remote.DesiredCapabilities.chrome()'
seleniumJSEnvTest/run
seleniumJSEnvTest/test
'set scalaJSStage in Global := FullOptStage'
seleniumJSEnvTest/run
seleniumJSEnvTest/test
- >
sbt ++$TRAVIS_SCALA_VERSION
'set jsEnvCapabilities in seleniumJSHttpEnvTest := org.openqa.selenium.remote.DesiredCapabilities.chrome()'
seleniumJSHttpEnvTest/test
'set scalaJSStage in Global := FullOptStage'
seleniumJSHttpEnvTest/test