.travis.yml 1.84 KB
Newer Older
1 2
# Note: YAML does not allow Tabs for indentation!

3
language: node_js
4
env:
5
  global:
6
    - ARSNOVA_SENCHA_CMD_VERSION="4.0.5.87"
7
    # Sauce Labs ist currently disabled, but settings are kept here for future use.
8 9 10 11 12 13
    # Sauce Labs: (thm-projects/arsnova-mobile) 1. User, 2. Access-Key
    - secure: "h9KHs5w6EiNsMrVgEqgnMla0N0W5YNdWKSnEcJ+j+9vKK/+dRPXiFz9jdi8ZhpgD5GZN5zeZE2BUBJ6eypLg3rElT9Lw/x8kFbLsOiIrw0YeE4Csd4wBHNbrLL4/MEXECkOUh3QN+5Kc0RKt1juDkK1Wn8a33J5n4r382XdsGSM="
    - secure: "fW/DcbNclyZaTOZV59IOvMxqN/wEHGZTpd+L6rag+ZNXbdigPlqydh0uX4OuS27l75EQR0UD/YoZwiF+qsj/iOEw6y8ncWpmXIa5GGuFo6VczlulS7PnLcCxjWh0c1GAs9hiF1CyEq4dR3c8S7KmYSEyeBU3G0F43mAwFEzynAQ="
    # Sauce Labs: (commana/arsnova-mobile) 1. User, 2. Access-Key
    - secure: "dUrgRZ1EhUiFXQmF0wIjyQDl88FeKjjysC7SVTh2y7TOtASNqEuPXycsWSxP3jQUL3Yk1V5rw0wrwUhQ1Am9dajOeverl7Zs2ivJFYJGfYOvPWZWgutvpIize7Kuu6gK/tv35Mb68UlYFx/9BMzZDPxHQhYvy8l9QBHbw0mipow="
    - secure: "D3BDV2SOCrg7vNtRyg+5FRKAxDTFpnediQswMO2phGNMtkK2uHNxXe0ltHGVqULkuvvk3NMleOFR3vDZ4Qea9ylG0ewYACxc14H3qrozJm1c1eHkJv5fhOqxS9OvRNd7c2/16eu+D1VuPGvIoh2fyrTalU3USJHvkiy0Hvse4AM="
14
before_install:
15 16 17 18 19
  # Install Sencha Command (taken from deftjs/DeftJS)
  - "wget http://cdn.sencha.com/cmd/$ARSNOVA_SENCHA_CMD_VERSION/SenchaCmd-$ARSNOVA_SENCHA_CMD_VERSION-linux-x64.run.zip"
  - "unzip -q SenchaCmd-$ARSNOVA_SENCHA_CMD_VERSION-linux-x64.run.zip"
  - "chmod +x SenchaCmd-$ARSNOVA_SENCHA_CMD_VERSION-linux-x64.run"
  - "./SenchaCmd-$ARSNOVA_SENCHA_CMD_VERSION-linux-x64.run --mode unattended"
20 21
  # Configure Sencha, add to PATH
  - "echo 'build.options.custom=selenium:true' > ~/bin/Sencha/Cmd/sencha.cfg"
22
  - "export PATH=~/bin/Sencha/Cmd/$ARSNOVA_SENCHA_CMD_VERSION/:$PATH"
23
  - "npm install -g grunt-cli"
24
script:
25 26
  # Run code style checks
  - "grunt jscs"
27 28
notifications:
  slack: f112a:GOZb6ewuAf2AVxduDXzdiCTG
29
  email: admin@ecollab.eu
30 31

addons:
32
  sauce_connect: true