A description of the recently developed ray-tracing code TRAVIS is given together with the theoretical background, results of benchmarking and examples of application. The code is written for electron cyclotron studies with emphasis on heating, current drive and ECE diagnostic. The code works with an arbitrary 3D magnetic equilibrium being applicable for both stellarators and tokamaks. The equations for ray tracing are taken in the weakly relativistic approach, i.e. with thermal effects taken into account, while the absorption, current drive and emissivity are calculated in the fully relativistic approach. For the calculation of ECCD, an adjoint technique with parallel momentum conservation is applied. The code is controlled through a specially designed graphical user interface, which allows the preparation of the input parameters and viewing the results in convenient (2D and 3D) form.