Skip to content

Commit

Permalink
Fixed travis.yml to use coreclr rc2 instead of dnx
Browse files Browse the repository at this point in the history
  • Loading branch information
Hovsep Mkrtchyan committed May 18, 2016
1 parent 773e9f1 commit 8151cf6
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: csharp
sudo: false
mono:
- beta
sudo: required
dist: trusty
addons:
apt:
sources:
Expand All @@ -16,14 +15,7 @@ addons:
# 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
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 4
- npm install -g npm@'>=1.4.3'
- npm install
Expand All @@ -38,10 +30,12 @@ install:
- echo y | ./android/android-sdk-linux/tools/android update sdk --all --filter platform-tools,android-23,build-tools-23.0.1 --no-ui --force
- echo y | ./android/android-sdk-linux/tools/android update sdk --all --filter extra-android-support,extra-android-m2repository,extra-google-m2repository --no-ui --force
- export ANDROID_HOME=`pwd`/android/android-sdk-linux
# Install NetCore RC2
- sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
- sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
- sudo apt-get update
- sudo apt-get install dotnet-dev-1.0.0-preview1-002702 -y
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: ============"
Expand Down

0 comments on commit 8151cf6

Please sign in to comment.