forked from stankovski/AutoRest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (52 loc) · 1.78 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
language: csharp
sudo: false
mono:
- beta
addons:
apt:
sources:
- deadsnakes
packages:
# Packages required for android build
- libc6-i386
- lib32stdc++6
- lib32gcc1
- lib32ncurses5
- lib32z1
# packages for python
- python3.5
install:
# Install libunwind required for DNX
- wget http://download.savannah.gnu.org/releases/libunwind/libunwind-1.1.tar.gz
- tar xzvf libunwind-1.1.tar.gz
- libunwind-1.1/configure --prefix=$HOME/.local
- make && make install
- export LD_LIBRARY_PATH=$HOME/.local/lib/:$LD_LIBRARY_PATH
# Install npm
- curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | sh && source ~/.dnx/dnvm/dnvm.sh && dnvm upgrade
- npm install -g npm@'>=1.4.3'
- npm install
# Install ruby dependencies
- rvm use 2.3.0 --install --binary --fuzzy
- gem install bundler
- bundle install
- pip install --user tox
# Install android SDK
- mkdir android
- wget -qO- "http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz" | tar -zxv -C ./android
- echo y | ./android/android-sdk-linux/tools/android update sdk --all --filter platform-tools,android-23,build-tools-23.0.1,extra-android-support,extra-android-m2repository,extra-google-m2repository --no-ui --force
- export ANDROID_HOME=`pwd`/android/android-sdk-linux
script:
- dnvm install 1.0.0-rc1-final -r mono
- dnvm install 1.0.0-rc1-final -r coreclr
- dnvm use 1.0.0-rc1-final -r coreclr -persistent
- gulp
after_script:
- echo "========== Server log: ============"
- pwd
- ls -al
- ls -al TestResults
- cat TestResults/*.log
notifications:
slack:
secure: d0PFVLcyqcMxNtmZ8JaEpIBzXbUbZCgKs8QtBB5qEIXDnxflSR3AhczlILNhTBKtMEBlwVzsz65yP09XcmvB6xpAfJbHqSRzk2frKa5viPcAD8Wr/NYamt9/UiTCsnql8MqzjVy0tLdMscXKRmsUey4YF570zl0b7gAbq7XTqxM=