-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
65 lines (65 loc) · 5.89 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
os: linux
language: java
jdk:
- oraclejdk14
env:
matrix:
- DISPLAY=:99.0
global:
#$GITHUB_TOKEN
- secure: vt+xYgydmvdzHQvO9QcNehtztHLkad89iunw7ebrmPEXgjSNwqOVHjSzRvASazYht9iq+kIs4reEQUS2i3+0Sq+VvyP26g6jGmrClXbnRWBrk84MHDbW0Ee+5f8RwT471QAT+GQrXK9ELLM6x9cfeJZsUsowGR0d+miEE7VYy29cYzEjQ8KVw5b2KVW9KL7c1bqQHDu9zsVSxNEzZs8KbQ86W1vymUF1F/KMnUWs6oyuH/STohAH8cYPmcK3p/d2wtnuVVny/OAXy5V6fkq9F/kycjRvj5fwkwPdPzHwACzoY+NDe/UoA/A0bk99b0Sk/jz7CaiBhjK0pBK2SvelxR+90VLYcnLSy70x5o2ET4HgkikP8r5nKX4r2cdQiVWL51GB8B2ooI9+h8fV8xMwYXlRJAxgzjuTQFpGc7tATD34234LUWzHxqbTOEWiVZqfCrPVNeQ4SbUg3ud+ETiFQ00+ELGth7Usbk1eUHGKIUi3kWR/xhBkl5/pZZswAEXvAsRfdJzncm65Xrv1VAgIW90+dMTQZmEne7xt+KYYllnqqIbo3s2ah78RUUPuC+r7TxAdE9KnkiPUipa/x1LUvNIf969BaV+RYPEjRJy5eKFm2eGqduXMCh8BjHbuS2Ohcbrm7YIXbPs84N6LqCiGdfQQzvTKuIPmglGynADpHvc=
#$SLACK_TOKEN
- secure: O1CQhHHDwhKZMyB/l4xG/ZdKKCW04rLzfa+H5X1Sgi0ALiOkwMt5j56XC6J97a6OOjtXvJjYHZt+BdN7eCjb9DhOxpi5tWgTSloq9kPmhJymr1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DiAZ/sJSxlHE4/L3o2zpU2krLxQKYpg+n6xa2ltGLe1k4nKujnma99snquS4f8yBhAcO5AHns3G4iYhUQFkEzblPd6zP5W2TdLiw4l5xADCbNav6GZIh8t6DG78mncWg+jFJ4Hm/c9pLaQxGV/rNVlT1ohn6zgt1L5vG92vyh8HJwSLFIFbd1uYa78osbII=
#$ACCESS_KEY
- secure: qekq6WCfUj8iPXcucPIQ4mipHtqem3Mh5iHJl6Isn2+7LySQCLLzr68R5puLMrS1p4Ml/6cQdsAwAE9QlCoYxneT1BSYaY6sJJ8z9NsHERkERpf/CekNQ9cvKRZ2dG0aPqnMbop2v3JfwTCYNhGFmsGV0/pEcvPKn7cvsfoJiJccRsBc9g1lXO47az8z0JjHeuZ19YkxK/zf0VkbPJ3Z9wZ+PdIlABf/eyiU8Krmh6qKAHU0gbic2KzHmCUGucQA8REuDUxzAOsAxhaRSum5BEO6Z1HfbAC3hFkNJFxfQdJjclGLLVU9qcXia9jkfqNW1k/jGH61KtLgKl2Si9wiQu8jxq152HjgbJKpi7fqVctsMtvjrpSeuJ1R/AL4T4ubx4pgmbZj9MRvAbTfKAxFj27fihItfSjWhsME3BvH22ewDBUxW5N3wJ3nSaClvoESocDq/OVlnOTxSY997iewGGQg/X5tW8w9QDhVLpGtR6VCsURQQEDKfXwDYHkz4HH5d4XNPFsDEyHLBSeYLJETT8W6Q7uHYDhET1XOXV9iAyquijwpF/1h8XvCWSZBLcbWfbz7COMpNbcsQl+QoM+IvBxBPP/LZNp9ipX/4mfuvIP8mD/1GefKXmyamSZS1ZK7S3FVqi+kl4jfSPKNVufE5dw39CUA5ztzZnXCND6ns+Q=
#LINUX VERSION
dist: bionic
#GUI & VIRTUAL BROWSER
services:
- xvfb
notifications:
slack:
rooms:
- secure: E+UlNohgriwhUd5FlWkdH04YqNMdK2R3f2gjqLO9diKpgJr5i3ITIhm18i4jJC4dcE95mvNGYroznb1G/sLBiEAPOe2JT4lToKjWEB+Iup+juqskDnn7E0RVbc73WrYhgFSnMMxAXmzHWJCpH4otW28gTC431m3yswwQeb30A+u1dmmsuHm8jK4vwjYs+aBb55OJj48ReChvpoM6mrF81u+kB+/KFKdRJ+6iMC9oGv1ogE3ejrCLcf3CoqEW2eDGKRG+luwiGgA1+UwPKuBvtg2gHyuXsZ0Ew4IMU7YIElc3tAAbrPSbH60im3GB8YhHAinl2aJXsmBrEWTDRG3tzu42RhkJ3dNSaxsYweL9/deX76YXo9OgdRf2a2L9SV00T5m1PbaxvDxmPfh7qa3JYTjYTUMQOoVTdwKyXOHCQaXxw2oWooTaUxkBeQY4eME+eCefOzkfBiLde8HFgUYoAzZDg0GiRHFx525qfeS9UgAHKIq2aHLzxwbL1P+d/rzcpSAfDFGl+vD+veGCgFW4Jtqn66a1BFQgzTwpzgpxV9+LTsAIkZ6Xzq+XSxwJprZdkolfug2cNM8dLlbvzGz+I4Ptt78wMVaGMxkWi/E7EshpbLCE0gSxXUDOAVT5yF340sfJVcGFqnAD12NekW19KL4IrgelxruS4i5inuuIm5Q=
on_pull_requests: true
on_success: always
on_failure: always
template:
- "Repository: `%{repository_slug}`"
- "Deploy status: *%{result}*, build number (<%{build_url}|#%{build_number}>)"
- "Author: *%{author}*, for commit (<%{compare_url}|%{commit}>) on branch: `%{branch}`"
- "Commit message: `%{commit_message}`"
- "Output message: *%{message}* Execution time: *%{duration}*."
email:
on_success: never
on_failure: always
addons:
chrome: stable
#DOWNLOAD AND INSTALL ALL REQUIRED DRIVERS
install:
#- wget -N http://chromedriver.storage.googleapis.com/81.0.4044.138/chromedriver_linux64.zip -P
#- unzip chromedriver_linux64.zip -d
- npm install -g allure-commandline --save-dev
before_script:
- echo ========================================================================
- echo =========================BUILD EXECUTION STARTED========================
- echo ========================================================================
#RUN GRADLE
script:
- ./gradlew test -Dtravis.buildNumber=$TRAVIS_BUILD_NUMBER -Dtravis.buildURL=$TRAVIS_BUILD_WEB_URL -Dtravis.branch=$TRAVIS_BRANCH -Dtravis.osName=$TRAVIS_OS_NAME -Dtravis.jdkVersion=$TRAVIS_JDK_VERSION -Dtravis.slack=$SLACK_TOKEN
#THIS COMMAND WOULD RUN TESTS ON BROWSERSTACK
#- ./gradlew test -Dtests.executor=browserstack -Dbrowserstack.hostURL=https://$USER_NAME:[email protected]/wd/hub -Dremote.browser=chrome
after_script:
- echo ========================================================================
- echo ========================BUILD EXECUTION FINISHED========================
- echo ========================================================================
- chmod 777 .travis/deploy.sh
- echo ========================================================================
- echo =========================UPLOADING TEST REPORTS=========================
- echo ========================================================================
- .travis/deploy.sh
- echo ========================================================================
- echo ===============================DONE 100%================================
- echo ========================================================================