forked from UdashFramework/udash-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (42 loc) · 1.45 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
sudo: required
dist: trusty
language: scala
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
# Instal google-chrome
- export CHROME_BIN=/usr/bin/google-chrome
- sudo apt-get update
- sudo apt-get install -y libappindicator1 fonts-liberation
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome*.deb
# Install Selenium chromedriver
- wget http://chromedriver.storage.googleapis.com/2.25/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip -d selenium-bin
- export PATH=$PWD/selenium-bin:$PATH
script:
- sbt ++$TRAVIS_SCALA_VERSION "set (UdashBuild.jsTestEnv in ThisBuild := new org.scalajs.jsenv.selenium.SeleniumJSEnv(org.scalajs.jsenv.selenium.Chrome))" $TEST_PACKAGE
jdk:
- oraclejdk8
scala:
- 2.11.8
- 2.12.1
env:
- TEST_PACKAGE=core-macros/test
- TEST_PACKAGE=core-sharedJVM/test
- TEST_PACKAGE=core-sharedJS/test
- TEST_PACKAGE=core-frontend/test
- TEST_PACKAGE=rpc-macros/test
- TEST_PACKAGE=rpc-sharedJVM/test
- TEST_PACKAGE=rpc-sharedJS/test
- TEST_PACKAGE=rpc-backend/test
- TEST_PACKAGE=rpc-frontend/test
- TEST_PACKAGE=rest-macros/test
- TEST_PACKAGE=rest-sharedJVM/test
- TEST_PACKAGE=rest-sharedJS/test
- TEST_PACKAGE=i18n-sharedJVM/test
- TEST_PACKAGE=i18n-sharedJS/test
- TEST_PACKAGE=i18n-backend/test
- TEST_PACKAGE=i18n-frontend/test
- TEST_PACKAGE=bootstrap/test